Ruby on Rails Thursday, September 25, 2014

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 rubyonrails-talk+unsubscribe@googlegroups.com.
To post to this group, send email to rubyonrails-talk@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/rubyonrails-talk/CAPDEixLKgGSobvmF2n1%3DnDZ3F26QZTRSX4hVi03wJZCeBoUuzg%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.

No comments:

Post a Comment