Ruby on Rails Monday, November 28, 2011

Whats the use of 'g' here?

On Nov 28, 9:32 pm, Norbert Melzer <timmel...@googlemail.com> wrote:
> Am 28.11.2011 15:29, schrieb Rebin Joseph:
>
> > How can I get the table and field list?. From schema.rb?
> > db:migrate will destroying my well defined database table structure.
> > IS there any way to keep the schema.rb without overwriting it?
>
> rails g scaffold --help
>
> shows:
>
> ActiveRecord options:
>       [--migration]            # Indicates when to generate migration
>                                # Default: true
>
> Perhaps that is useful for you?
>
>  signature.asc
> < 1KViewDownload

--
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 rubyonrails-talk+unsubscribe@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en.

No comments:

Post a Comment