Archive for January, 2008
Rake is my new F5
Photo credit
The last couple of days I’ve been doing a bunch of refactoring, as I tend to do whenever I’ve reached a kind of plateau on what I’m working on. It’s always good, once things work, to go back and improve the design.
I try to write tests before I write code, so that I’m […]
You Don’t Need Foreign Key Constraints In Rails
In a recent forum thread I tell RJ not to worry about foreign key contraints at the database level.
Am I right or wrong? Join the discussion.
Read the original article: You Don’t Need Foreign Key Constraints In Rails
Vote For The Next Rails Class in 2008
(Photo credit)
We held two Ruby on Rails seminars in 2007, both here in Chicago, and both sold out (we had limited the classes to 25 attendees). We had a great time, and fortunately everyone else did, too.
This year, Instead of having everyone travel to Chicago for our seminars, we’ve decided to turn the tables.
Would […]
Freezing Your Rails Application
Photo credit
Thanks to all who asked for an article about “freezing” your Rails application. I’ll try to cover all the basics, but
feel free to follow up with more questions by leaving a comment below.
You on Gems
Talking about “freezing” your Rails app won’t make sense if you don’t first understand what Ruby Gems are all […]
Yes, Ruby 1.9 Is Available, But Beware
You may already know by now that a new version of Ruby, 1.9, has been announced as being available for download. However, if you’re not familiar with Ruby’s tradition, you might think that you should start upgrading all of your production servers today.
Do not do that.
Although Matz indicated in his announcement that 1.9 is a […]
InfoQ Interview about Rails 2.0
I have a love-hate relationship with InfoQ lately. Sometimes their stuff is really helpful, sometimes… not.
Today I found something helpful, a short interview with DHH regarding Rails 2.0.
I admit to being a bit surprised that .NET – and C#, no less – were actually mentioned in the same breath as Rails. I’ll highlight just […]
Diff Is Great! Microsoft, Not So Much
Diff Is Part Of My Life (Now)
At work we use subversion for source control. While I know how to use the TextMate shortcut keys for accessing most of the Subversion commands,
I still often prefer to alt-tab to my command prompt session and run svn commands manually.
One of the things I do before I commit […]
Rails 2.0.2
If you haven’t seen the official announcement please do so. At first I thought this was sort of an optional kind of update, and there would be no reason for me to repeat this old news.
But at the very end of DHH’s list of bug fixes, this one caught my eye: Jeremy Kemper fixed […]
TextMate Snippet for RESTful Controller
UPDATE: Fixed a couple of typos in the source code.
Here’s my TextMate snippet for generating the Golden Seven actions.
Rails 1.2 gave us the resource controller, providing a RESTful controller with an underlying model and migration.
Rails 2.0 has given us a first-class scaffold generator, which provides a RESTful controller, a model, and starter views for all […]
Softies on Rails Interviews: Orbitz
Orbitz is one of the largest companies in the online travel business, and from a web development standpoint, heavily invested in enterprise technologies like J2EE and Oracle. So I was pleased to learn that over the past several months, a small team at Orbitz has been working hard on a project called Traveler Update […]
