[Rails] Re: Re: I have a NoMethodError, please help!

2010-11-28 Thread Zack Nathan
Colin Law wrote in post #964458: > On 28 November 2010 12:31, Zack Nathan wrote: >> [...] >> I scaffolded it. Im using rails 2.3.8. Sorry I meant that my controller >> is named singularly. So do you guys think I should pluralize it? >> > > Model should be Repository in repository.rb > Controller s

Re: [Rails] Re: Re: I have a NoMethodError, please help!

2010-11-27 Thread Michael Pavling
On 27 November 2010 22:37, Zack Nathan wrote: > I just dont see where the problem is! Its super strange.. For the last time... have you done this? >> so try changing it to : >> >> map.resources :repositories, :has_many => :bugs >> You might notice, that your current route mapping is singular, a

[Rails] Re: Re: I have a NoMethodError, please help!

2010-11-27 Thread Zack Nathan
Michael Pavling wrote in post #964379: > On 27 November 2010 22:10, Zack Nathan wrote: More likely (due to the "repositories path") to be a routing problem. Zack, do you have "map.resources :repositories" in your routes.rb file? >> >> I dont actually. My routes for repository looks