Articles related to rails routes
Router Basics - Ruby - About.com
To configure the Ruby on Rails router, open up config/routes.rb. By default, you'll see a rather empty file with a single block and nothing but comments.
Clean up the Routes - Ruby - About.com
At this point, your routes.rb file will be a little messy. The original Rails generator created a routes.rb filled with comments and default routes that you do not need.
Step 3: Authentication with Devise - Ruby - About.com
Feb 11, 2013 ... This will install the library into your Rails application and get ready ... Blog:: Application.routes.draw do resources :posts root :to => 'posts#index'.
Quick and Rough Rails 4 Blog Tutorial - Ruby - About.com
If you visit the root URL, you'll see a Rails welcome page. To get rid of that, you'll need to add a default route. Routes are Rails' way of mapping URLs to ...
Rails Application Flow - Ruby - About.com
In the case of Ruby on Rails, the flow control is all handled behind the scenes, and all you're left with is (more or ... The router is configured in config/routes.rb.
Part 2: Bootstrapping - Ruby - About.com
This is done with the command rails generate scaffold short long:string. $ rails generate ... This application will be much simpler, consisting of just three routes.
An Introduction to Rails: a Quick Blog Part 2 - Ruby - About.com
In Part 1 of this series, we looked at installing Rails, generating a new project and .... reading, they're a handy synopsis of how to write routes for various things.
Part 3: Installing Devise - Ruby - About.com
The command to do this is rails generate devise:install. ... Note that in config/ routes.rb, the line devise_for :users was added, and the actual logic is handled by ...
Jumping Between Files - Ruby - About.com
Editing Rails projects in Vim effectively. ... For instance, to switch to routes.rb you can use the command :Rfind routes or to switch to database.yml you can use ...
Dealing With Ruby Vulnerabilities: Pay Attention to Idempotence
There are two ways of fixing an application made before Rails 2.0 and RESTful designs. ... you could try adding the RESTful resource route to the routes.rb file.