nested-routes
Error Rendering with Nested Routes
I am trying to maintain a pretty URL when having a user messaging with failed validation. I have a routes file that looks like the following:[详细]
2023-02-25 04:24 分类:问答Rails routing error with respond_with when creating nested resource
I\'m having the following problem with a simple Rails 3 app I\'m creating.It is driving me batty. My model:[详细]
2023-02-22 21:06 分类:问答Problem using a form with nested routes in rails 3
I have a database structure where my Articles have many People (through a join, but that is working fine)[详细]
2023-02-20 09:15 分类:问答Rails 3 / nested routes: Problem to redirect to the correct url for a collection of microposts in a user show page
I have a problem with nested routes which don\'t display correct url. I use the be开发者_如何学JAVAlow code, but it renders something like:[详细]
2023-02-18 23:26 分类:问答Ruby on Rails Tutorial, Chapter 11, Exercise 7 - Breaks my rspec tests
I\'m working through Michael Hartl\'s excellent tutorial on Rails, but I am having trouble with exercise 7 in Chapter 11.[详细]
2023-02-07 07:24 分类:问答pseudo-complex routes in rails 3
I\'m trying to make some nice simple routes in Rails 3 with 2 custom matchers which assume the root :id will be a city and :city_id/:id will be a place... it seems to work fine except when trying to e[详细]
2023-02-05 03:27 分类:问答rails polymorphic nested comments - cant delete them
here my git https://gist.github.com/774510 the problem is if I\'m using method:destroy in the _comments.html.erb I get sent to articles/1/comments, where no route matches, furthermore the comme开发者[详细]
2023-02-03 10:46 分类:问答Why can't I edit a nested model now?
I get the following error: undefined method `campaign_fax_path\' for #<ActionView::Base:0xb6515200>[详细]
2023-01-31 17:49 分类:问答ruby-on-rails - Problem with Nested Resources
I have a Problem with Nested Resources. 2 Models User => has_many :stuffs Stuff => belongs_to :user[详细]
2023-01-30 18:28 分类:问答rails pagination nested routes
I am attempting to put a contacts paginated partial inside of a view for rooftops.Rooftops has many contacts and also has a nested route allowing /rooftops/1/contacts.When I try to create the will_pag[详细]
2023-01-27 00:09 分类:问答