Articles

Ruby 1.9 Part II

PeepCode has teamed up with Gregg Pollack, Jason Seifer, and David A. Black of Envycasts to provide you with their current library of screencasts!

Jump into the future of Ruby with part 2 of this two part series on the distinguishing new features of Ruby 1.9. Topics covered in this 35-minute screencast include:

Ruby 1.9 Part I

PeepCode has teamed up with Gregg Pollack, Jason Seifer, and David A. Black of Envycasts to provide you with their current library of screencasts!

Jump into the future of Ruby with this two part series on the distinguishing new features of Ruby 1.9. Topics covered in this 41-minute screencast include:

Scheduled Maintenance Tonight at 22:00 PDT

We’re having another maintenance window tonight from 22:00 to 23:00 PDT. We will be installing and testing the “sorry server” that will be enabled if no frontends are available to serve requests. Instead of just refusing connections, this server will point you to the Twitter status feed and display information on surviving when GitHub is down.

3 Ruby Quirks You Have to Love

Ruby’s a fantastic language; we love it because it’s flexible, readable and concise, to name just a few reasons. The Ruby language is also incredibly complex as far as language syntaxes (grammar) are concerned. This sometimes leads to some dark seedy corners… but by examining the stranger aspects of Ruby’s syntax, it helps us to better understand the power of Ruby. This entry will show some of the stranger aspects of the language and reflect on how we rarely see these used in real life.

GitHub Ribbon in CSS

jbalogh has a write up on how to implement GitHub’s Ribbons in pure CSS: Redoing the GitHub Ribbon in CSS

Big Bangs Only Work for the Universe

 Big Bangs Only Work for the Universe

Coderack, a Rack middleware contest launched

You’ve probably heard about Rack, right? Few months ago during the conversation with my teammate about potential and possibilities of Rack, and Rack middleware we’ve came up with an idea of creating some coding contest. We wanted to encourage Ruby developers to explore the power of Rack because we believe it’s the best thing since sliced bread. And what better way than to hold a contest? And now we can proudly say that it happened! We’ve just launched it and got really positive feedback about it so far.

Double Shot #562

Today it would be nice to hit a few home runs.

Boson And Hirb Interactions

In the last post, I introduced Boson and its options for commands. What I didn’t mention was that Boson also gives those commands default options. Among them are ones to control rendering a command’s output with Hirb and even toggle rendering. At the flick of a switch, Boson commands (Ruby methods) can have Hirb’s views.

Original Author Name: 
Gabriel Horner

The Tools I Use

Inspired by Mike Gunderloy’s recent blog post, I decided to put together a list of the tools I use, both hardware and software.

I use a Mac at home and a Windows laptop at work; I plan to cover the Windows tools in a later post.

Articles | Rails Fire

Articles

Scheduled Maintenance Tonight at 23:00 PDT

We will be having a maintenance window tonight from 23:00 to 23:59 PDT. A very small amount of web unavailability will be required during this period.

We will be upgrading some core libraries to versions that are not compatible with what is currently running, so all daemons must be restarted simultaneously. For this to go smoothly, we will be disabling the web app for perhaps 30 seconds.

Railssummit Slides

Here are the slides of my presentation at Railssummit 2009. Huge thanks to Locaweb and Fabio Akita for organizing the conference and having me there.

My talk was about Rails focused tips/tricks.

An EngineYard Cloud Gotcha

I’m still loving the EngineYard Cloud for my client deployments. I encountered one snag today, though, when cloning an environment for staging: Custom chef recipes do not get cloned along with the rest of the environment.

Rails Envy Podcast – Episode #096

Episode #096. Dan Benjamin (Playgrounder, Hivelogic) is back this week. We each had some background noise and an awkward moment. But it’s funny.

24-hour tweet drive to #beatcancer

Helping with Texting

UNICEF is using SMS to help those in need. And they’re doing it with open source.

You can read all about RapidSMS, their Mobile and SMS platform, but here’s a snippet:

See You at LessConf

LessConf

LessConf is tomorrow in Jacksonville, Florida. If you’re not going I’ll be sad that I won’t see you there. But not too sad with this line up of awesome speakers:

Double Shot #563

Looks like I’m safely booked up for the next couple of months. Maybe the summer drought is over.

More Tools: There are some more folks chiming in on the “Tools of the Trade” thread:

Set default host for Mailer in RubyonRails

We can set the default host for all of our methods in Mailer.

For this, we need to write one method in ApplicationController file with following code and call this method using before_filter,

ActionMailer::Base.default_url_options[:host] = request.host
or
ActionMailer::Base.default_url_options[:host] = request.host_with_port

Hope this will be helpful for someone.

Double Shot #500 | Rails Fire

Double Shot #500

Send to friend

Yup, 500 of these things. A bit hard to believe.

  • Rails 2.3.3: Touching, faster JSON, bug fixes – No huge changes, but some important fixes and a few minor features. The current plan is for 2.3.x to update every six weeks until 3.0 comes out.
  • Better rake:routes – Better because it lets you specify a controller and only prints the matching routes if you do.
  • Inquiry – Managed service to handle FAQs for your application. Not clear this is something I’d choose to outsource, but that appears to be the way of the future.
  • constructor – Named argument style initialization for any Ruby class. Not new, but potentially useful.
  • Ruby 1.9.2 preview 1 released – And the march of progress continues.
  • What would you like in a code quality tool? – Cogent is planning a tool that you can just point at your repo. Fill out their survey for free access to the product when it exists.
  • Git User’s Survey 2009 – In case you’d like to offer the git developers some detailed feedback on your use of their tool.

Images: 
  • Programming Language:
  • Technology: