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:
I\'m having the following problem with a simple Rails 3 app I\'m creating.It is driving me batty. My model:
I have a database structure where my Articles have many People (through a join, but that is working fine)
I have a problem with nested routes which don\'t display correct url. I use the be开发者_如何学JAVAlow code, but it renders something like:
I\'m working through Michael Hartl\'s excellent tutorial on Rails, but I am having trouble with exercise 7 in Chapter 11.
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
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开发者
I get the following error: undefined method `campaign_fax_path\' for #<ActionView::Base:0xb6515200>
I have a Problem with Nested Resources. 2 Models User => has_many :stuffs Stuff => belongs_to :user
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