You can start with guide.rubyonrails.org. They have a lot of information there. A very good example to start with. Start with the Getting Started link. This site also has many other examples.
In the next step, you might be better off buying a book on this subject. I bought Simply Rails 2 from Patrick Lenz. Also a very good starting book with good examples. It guides you through an application similar to Digg. This will take you to the Model-View-Controller skill set.
If you want to go further, I would suggest Agile Web Development with Rails, third edition of Sam Ruby, Dave Thomas, David Heinemeier Hansson. I would suggest PDF because I use it as a link, and searching on 774 pages is useful, to say the least. This is my favorite, but definitely not a starting book. It crashed into two halves. The first half is a shopping cart writing tutorial. In this example, you find yourself in database models, migrations, sessions, helpers, ajax, routes, security - shows you how to create your own authentication process and much more. The second half of the book is more of a reference tool and goes deeper than a textbook on application.
From here I would look at plugins to help you. Search on www.github.com. They host many open source plugins. Don't be too wild on plugins because too many will prevail over RESTful principles. For security / authentication, I would recommend Authlogic. I still think itโs useful to study a tutorial on how to create your own authentication (from the Agile Web Development with Rails book) to find out what is actually included in this plugin.
Last but not least, to start thinking about how you will deploy your application. You might think that this is trivial, but the longer you put it off, the more difficult it will become. Take a look at capistrano and deprec gems (plugins) for deployment on VPS. I had a lot of problems deploying to a shared host.
Do not start with the hardest part of the rails like me. Work with guides first and enter more advanced applications. Rails has a pretty steep learning curve.
Hope this helps.
source share