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

2010-11-28 Thread Oknek Jeanr
I Like to order ugg boots,they are 100% original, and they are very cheap and good secvice, Non Tax,Free Shipping. if you like it,you can buy it from this company. www uggscom com really? -- Posted via http://www.ruby-forum.com/. -- You received this message because you are subscribed to the Go

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

2010-11-28 Thread Colin Law
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 should be RepositoriesController in repositor

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

2010-11-28 Thread Zack Nathan
Zoltan Gero wrote in post #964442: > Hello, > I read the whole mailing, and not sure if I agree. > > So first this problem means you don't have the method in the > Controller. I agree, controllers have naming conventions, check those. > Also routes.rb has conventions, depends on version - which do

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

2010-11-28 Thread gezope
Hello, I read the whole mailing, and not sure if I agree. So first this problem means you don't have the method in the Controller. I agree, controllers have naming conventions, check those. Also routes.rb has conventions, depends on version - which do you use? If you've written your route to the

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

2010-11-27 Thread Michael Pavling
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 like this: map.resources > :repository, :has_m

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

2010-11-27 Thread Zack Nathan
Jaap Haagmans wrote in post #964371: > On Nov 27, 10:50pm, Michael Pavling wrote: >> On 27 November 2010 21:17, Brian Troutwine wrote: >> >> >> undefined method `repositories_path' for # >> >> > It is expected by your view that the controller serving up this view >> > has defined a model instance

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

2010-11-27 Thread jhaagmans
On Nov 27, 10:50 pm, Michael Pavling wrote: > On 27 November 2010 21:17, Brian Troutwine wrote: > > >> undefined method `repositories_path' for # > > > It is expected by your view that the controller serving up this view > > has defined a model instance @repository. > > More likely (due to the "r

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

2010-11-27 Thread Zack Nathan
Brian Troutwine wrote in post #964363: > On Sat, Nov 27, 2010 at 3:43 PM, Zack Nathan > 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 # >> >> Heres my view code: >> >> <% form_for