In Rails 2 we use

ruby script/generate migration table_name



On Thursday, September 25, 2014 12:43:12 PM UTC+5:30, M,Gopi M.gopinath 
wrote:
>
> Hi,
>
> I am trying to add a field in a existing table (database) in Rails 2.3.5 
> and ruby 1.8.6.
>
> I gave a command to generate a migration, Here as follows,
>
> ruby script/generate migration AddwebToDistributors website:string
>
> But I am getting a error, saying that "Couldn't find 'migration' 
> generator" 
>
> Can anyone help me to solve this issue.
>
> Best Regards,
>
> *Gopinath M*
>
>
>  

-- 
You received this message because you are subscribed to the Google Groups "Ruby 
on Rails: Talk" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/rubyonrails-talk/c8b2469c-8b5b-41e7-aa47-1a6909e13a62%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to