search for: blog_post_blog_comments_path

Displaying 1 result from an estimated 1 matches for "blog_post_blog_comments_path".

2009 Feb 26
0
Using form_for and has_many associations with a controller in its own subdirectory
...l sorts of headaches! I''m referring to the screencast by Ryan Bates on the rubyonrails.org site. Basically, my controller is Blog::Comments, in my Blog::Post comment form I have this line: <% form_for [@post, Blog::Comment.new] do |f| %> Which throws this error: undefined method `blog_post_blog_comments_path'' for #<ActionView::Base: 0x25ad3fc> The path that I think I need is ''blog_post_comments_path", and I''m not sure if this is a routing issue or something else? Or, if I try this line: <% form_for [@post, :Comment.new] do |f| %> I get this error: uninit...