I want to setup a route so that if the user goes to http://mysite.com/page.html it is routed to the controller page开发者_运维知识库_controller and the action index.How would I do this?You can do this
I have a primary model for my project, Place.rb with a places_controller, and I\'ve currently got it exactly the way I want for the users end of my project.With a nested photos controller, review, etc
I\'m trying to make a named route \'have_many\' other named routes here. But the way I\'m doing it\'s not working.
I\'v开发者_开发百科e used will_paginate in a number of projects now, but when I moved one of them to Rails 2.3.5, clicking on any of the pagination links (page number, next, prev, etc.,) went from get
I have a simple web app with users and posts. I have an index controller and view that shows a list of the posts in the database. With the list, it shows a \"Show\" link which links to the specific po
Is there a simpler way of writing this: map.old_site_cusom_packages \'/customs_packages_options.html\', :controller => :public, :action => :redirect开发者_如何学Python_to_home
I\'m creating a simple quiz application where a question can have multiple answers. To improve the usability of my app, I want users to be able to edit ALL the answers for a given question in the same
Routes in Ruby on Rails are case sensitive. It seems someone brought this up before, and it has been labeled will not fix.
I have a basic MVC 2 (RC2) site with one base-level controller (\"Home\"), and one area (\"Admin\") with one controller (\"Abstract\"). When i call http://website/Abstract - the Abstract controller in
I have a s开发者_运维问答ingular nested resource like so: map.resources :bookings, :member => { :rate => :post } do |booking|