Ruby on Rails Thursday, September 25, 2014



On Thursday, 25 September 2014 03:13:12 UTC-4, 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"


Try running the generator without arguments and report what you get back:

ruby script/generate

"migration" should be in the list that comes back, but perhaps something is broken...

--Matt Jones
 

--
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/d8f64b27-305d-4258-888a-9779ac3b8628%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

No comments:

Post a Comment