[Rails] Re: undefined method `model' for ContactController:Class

2009-02-24 Thread Sankar Kumar
MaD wrote: > sorry i didn't read carefully enough. > > try this: > rails project > cd project > script/generate scaffold contact name:string street:string > mail:string > nano config/database.yml > rake db:migrate > script/server > firefox http://localhost:3000/contacts/new > > hop

[Rails] Re: undefined method `model' for ContactController:Class

2009-02-24 Thread Frederick Cheung
On 24 Feb 2009, at 15:39, Sankar Kumar wrote: > > MaD wrote: >> leave out the line >> model :contact >> you don't need that. > > I have remove that Now I'm getting error like "undefined method > `scaffold' for ContactController:Class" > > I think i'm totally wrong Can you pls let me k

[Rails] Re: undefined method `model' for ContactController:Class

2009-02-24 Thread MaD
sorry i didn't read carefully enough. try this: rails project cd project script/generate scaffold contact name:string street:string mail:string nano config/database.yml rake db:migrate script/server firefox http://localhost:3000/contacts/new hope this helps. btw: the tutorial you

[Rails] Re: undefined method `model' for ContactController:Class

2009-02-24 Thread MaD
leave out the line model :contact you don't need that. --~--~-~--~~~---~--~~ 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 rubyonrails-talk@googlegroups.com To unsubscri

[Rails] Re: undefined method `model' for ContactController:Class

2009-02-24 Thread Sankar Kumar
MaD wrote: > leave out the line > model :contact > you don't need that. I have remove that Now I'm getting error like "undefined method `scaffold' for ContactController:Class" I think i'm totally wrong Can you pls let me know the step to prepare small application ? -- Posted via h