Tutorial search
Tutorials
Stuff
Affiliates
Photoshop Templates
Featured Photoshop templates - professional ready to use designs for your next project.
View all templates
Rails 101: Routing - Ruby on Rails tutorial

Rails 101: Routing tutorial description
| Added on | 19.11.2008 |
| Total clicks | 71 |
| Tutorial Rating | 0 |
| Tutorial Difficulty | 0 |
Rails 101: Routing
More cool Ruby on Rails tutorials:

I'm a ruby and rails newcomer, and for my wordpress blog "nubyonrails" decided to work through David Heinemeier Hansson's famous "blog site" Rails demo movie, from the FISL 6.0 conference in Brazil, 2005. It's written for fellow ruby/rails newcomers but covers quite a lot of ground.

I have put all the basic things in place and you will find it a working tutorial for Ruby on Rails 2.1.

If you want to change something in the layout on a per-template basis, content_for is your answer! This allows templates to specify view code that can be placed anywhere in a layout.

Testing and refactoring go hand in hand. Refactoring is all about improving code without changing its behavior. Testing is all about making sure you don't change the behavior while you are improving the code.

Everything you wanted to know about layouts: global layouts, controller layouts, shared layouts, dynamic layouts and action layouts. Yes, there really are that many ways to specify a layout.





