« Return to Thread: Rails 2.0 scaffold

Rails 2.0 scaffold

by Adam Akhtar-2 :: Rate this Message:

Reply to Author | View in Thread


Hey guys,
I posted the other day about scaffold not working and i was told that it
was rails 2.0 doing this. (btw i'm using adgile web development)
I have read on the internet that you need to put extra stuff like title,
description......
So i did this:

C:\ruby\depot>ruby script\generate scaffold Product Admin id:int
title:varchar(1
00) description:text image_url:varchar(200) price:decimal(10,2)

and i got the same error as i got when i didn't put the extra stuff in
here is the error:

      exists  app/models/
      exists  app/controllers/
      exists  app/helpers/
      exists  app/views/products
      exists  app/views/layouts/
      exists  test/functional/
      exists  test/unit/
wrong number of arguments (1 for 2)


I no that it says exists but the main point is that i can't scaffold
now.
How can i fix this?
Thanks
Chris
--
Posted via http://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@...
To unsubscribe from this group, send email to rubyonrails-talk-unsubscribe@...
For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en
-~----------~----~----~----~------~----~------~--~---

 « Return to Thread: Rails 2.0 scaffold