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
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
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
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
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
5 matches
Mail list logo