Jaap Haagmans wrote in post #964371: > On Nov 27, 10:50pm, Michael Pavling <[email protected]> wrote: >> On 27 November 2010 21:17, Brian Troutwine <[email protected]> wrote: >> >> >> undefined method `repositories_path' for #<ActionView::Base:0x1034c7648> >> >> > It is expected by your view that the controller serving up this view >> > has defined a model instance @repository. >> >> More likely (due to the "repositories path") to be a routing problem. >> Zack, do you have "map.resources :repositories" in your routes.rb >> file? > > Or, if you're on Rails 3.0 "resources :repositories"
I dont actually. My routes for repository looks like this: map.resources :repository, :has_many => :bugs -- 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.

