This is not supported in Rails 2.0
I was having the same problem, and uninstalled rails 2.0, and
reinstalled Rails 1.2.5
There is a new method for accomplishing this task, but for now i''m
going to follow the book.
jason
On Dec 11, 2007, at 6:26 AM, No No wrote:
>
> I''m trying to get a handle on rails 2.0. Once upon a time...
>
> script/generate model book
>
> ## edit migration
> t.column :title, :string
> t.column :description, :string
>
> rake db:migrate
>
> script/generate scaffold book
>
> this would create a working MVC. Today, rails will not generate a
> controller for an existing model. Am I missing something??
>
> I was able to get this to work.
>
> script/generate scaffold book title:string description:string
> --
> 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-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org
To unsubscribe from this group, send email to
rubyonrails-talk-unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org
For more options, visit this group at
http://groups.google.com/group/rubyonrails-talk?hl=en
-~----------~----~----~----~------~----~------~--~---