The component of the Ruby on Rails framework responsible for mapping between HTTP requests and application resources (including static files and controller actions).
I'm having trouble with my verbs in Rails... viewing a page for a resource (Dog) which has_many (Fleas). Embedded …
ruby-on-rails routing rails-routingI changed the routing of posts#index to match blog and I now get /blog in the URL which I …
ruby-on-rails ruby-on-rails-4 rails-routingI'm working through the rubyonrails.org 'blog tutorial', and get this error when I try to submit a 'post' : Routing …
ruby-on-rails rails-routingI've got 2 controllers: app/ /controllers posts_controllers.rb /mobile posts_controllers.rb and my routes.rb looks like this: root :…
ruby-on-rails ruby rails-routingI have three roles: Instuctor, Student, Admin and each have controllers with a "home" view. so this works fine, get "…
ruby-on-rails ruby-on-rails-3 routes ruby-on-rails-3.2 rails-routingI want my urls to use dash - instead of underscore _ as word separators. For example controller/my-action instead of …
ruby-on-rails routing rails-routingI want to pass a parameter to the index action, but the I'm only getting the show action. routes.rb: …
ruby-on-rails ruby ruby-on-rails-3 parameter-passing rails-routingI am trying to get the controller and action name based on a path. I have a route: map.resources :…
ruby-on-rails rails-routingMy app used to run on foo.tld but now it runs on bar.tld. Requests will still come in …
ruby-on-rails routing rails-routingI would like to organize my controllers in subdirectories. Here is an example: routes.rb: resources :locations do resources :users …
ruby-on-rails-3 rails-routing