On Oct 30, 7:04 pm, Deepa Pandalai <[EMAIL PROTECTED]>
wrote:
> I'm a beginner. I get that error "wrong number of arguments (1 for 2).
> Please let me know why this is so. I'm copying the comand from the Agile
> Devpl. book. thanks, Deepa
your book is out of date. that generator looks like
ruby script/generate scaffold product name:string description:text
would create a scaffold (probably not the same one your book
describes) and a migration creating the appropriate table with a name
column of type string and a text column called description.
Fred
>
> RubyScripts\depot>ruby script/generate scaffold product admin
> exists app/models/
> exists app/controllers/
> exists app/helpers/
> exists app/views/products
> exists app/views/layouts/
> exists test/functional/
> exists test/unit/
> exists public/stylesheets/
> wrong number of arguments (1 for 2)
> --
> Posted viahttp://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 rubyonrails-talk@googlegroups.com
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
-~----------~----~----~----~------~----~------~--~---