Brian Troutwine wrote in post #964363: > On Sat, Nov 27, 2010 at 3:43 PM, Zack Nathan <[email protected]> > wrote: >> Hey everyone, >> >> I get this error for some reason when trying to access my new action. >> Here's the error: >> undefined method `repositories_path' for #<ActionView::Base:0x1034c7648> >> >> Heres my view code: >> >> <% form_for(@repository) do |f| %> > > It is expected by your view that the controller serving up this view > has defined a model instance @repository.
Thanks for the reply. I do have an instance, it says: @repository = Repository.new -- Posted via http://www.ruby-forum.com/. -- You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send email to [email protected]. To unsubscribe from this group, send email to [email protected]. For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en.

