model

Building your first Ruby on Rails application from scratch!

Hello everybody! It’s been a couple of weeks since my last post here. I’ve been focused on ruby on rails, and didn’t have much free time.

Well, now I’m going to guide you to your first app with ruby on rails. Everybody who have started working with RoR knows that scaffold is a powerful tool. So I won’t explain how to use it, it’s simple and I guess you already know that!

I will try to build a very simple application from scratch, writing your own methods, creating separated models, controllers and views. Pretty simple, just easier to understand every step, that you kind of lose when using scaffold.

By the way, I’m using rails 3.0.4 and ruby 1.8.7. Installed exactly like here.

06

(more…)