Header left Header right
 

Rails is more simple than you think

Published: January 25th, 2007

Everytime I have a problem with Ruby on Rails, it’s usually because I’m trying to do things to complicated. But I guess that’s what makes people professionals; being simple.

At least that’s how it is in my case.

Everytime I have a problem with Ruby on Rails, it’s usually because I’m trying to do things to complicated. But I guess that’s what makes people professionals; being simple.

So my actual learning process is learning simplicity. Afterall, Rails is built on the idea of a “agile framework”.

Pardon my noobness, but things like this are what I’m talking about.

@poems = Poem.find(:all, :conditions => ["user_id = ?", current_user.id]

Yeah sure, that’s pretty enough, but then I saw the light from railsforum

@poems = current_user.poems

So much easier!

I’ve done quite a bit of newbie stuff lately, but I can actually see an application surfacing now. It took me a couple months of studying and fooling around - but I feel like I’m actually getting somewhere.

I also ordered $100 worth of books to play around with, damn am I a geek or what?

Hey don’t worry - we’ve all gone through the same rite of passage :)

gravatar
Enter your comment

Ready. Set. Go.

In terms of the formatting, you're allowed to use markdown, textile, or basic html; it's truly up to you -- what strikes your fancy?

You don't have to worry about your e-mail address being sold to a russian-spam-mafia. I'm only going to use it for my own weird needs; like asking you out for a date on a lonely night of coding.