rails-routing
Updating rails 2 routing to rails 3
Hi I\'m stuck with a little bit of rails routing, How should this look in rails 3 routing?: map.resources :books开发者_Go百科 do |book|[详细]
2023-03-29 21:13 分类:问答a question about routing
i want to read all 开发者_如何学Gorecords of my table . this is my code Controller: def list @vorlesung=Vorlesung.find(:all)[详细]
2023-03-29 13:49 分类:问答Rails 3 Namespace Routing Error - Route exists but is not working
This has been fixed. I guess I had left :method => put in the form helper when I copied it from another view I had written. False alarm.[详细]
2023-03-29 12:03 分类:问答Rails 3: Check for routing error in rails code
I have a lot of courses in my website. I have a \"go to course\" form. When user inputs a valid course name, I successfully redirect that user to that course page.[详细]
2023-03-28 06:46 分类:问答Rails routing error with long class names
I get confused at Rails pluralising and camelcasing. Especially with my long but clear names. I have a User model and an Account model. I also have a user_to_account_log_history model and controller[详细]
2023-03-25 18:38 分类:问答Basic Rails 3 Routing Question
I am trying to make some clean URLs in a Rails3 application I am working on... but I am having a hard time understanding how to (or if I even should) customise my routes to make this work.[详细]
2023-03-24 19:38 分类:问答Ruby On Rails REST: Customize URL pattern for POST request
I am new to Ruby On Rails and need some help impleme开发者_如何学运维nting REST protocol. Whenever you do a POST on REST you get a URL back e.g. http://my-site.com/id/1[详细]
2023-03-22 01:11 分类:问答Fetching Post data from REST in Rails
This is a long question so i apologize if it takes a while to grasp. I\'ll keep it simple as possible.[详细]
2023-03-20 14:04 分类:问答Rails 3 Routing: I have "/products?cat=1", I want "/art"
I\'m fairly new to Rails and find myself confused by the routing config. In my project I have 2 models: Product and Category. Product belongs_to Category, Category has_many Product.[详细]
2023-03-19 06:06 分类:问答Rails 3 Route Wildcards
I am currently setting up routes in a Rails 3 application, and would appreciate it if someone could point me in the right direction.[详细]
2023-03-17 13:51 分类:问答