Hi! Here is an interesting problem. When i issue the command for generating model, it is not creating the migration automatically. InstanceRails is being used. Why such thing could be happening? Thanks and regards, Swanand --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---
On 2/16/07, swanand deodhar <swanand.blms-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> wrote:> Hi! > Here is an interesting problem. When i issue the command for generating > model, it is not creating the migration automatically. InstanceRails is > being used. Why such thing could be happening? > Thanks and regards, > SwanandHi Swanand, What command are you using to create your model? script/generate model can take a --skip-migration option which will suppress the generation of the migration file. Perhaps that''s being set by something? Otherwise, it could be a version problem. The CHANGELOG says migration generation was added to "generate model" in v1.1.1. Regards, George. --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---
Swanand Deodhar wrote:> Hi! > Here is an interesting problem. When i issue the command for > generating > model, it is not creating the migration automatically. InstanceRails is > being used. Why such thing could be happening? > Thanks and regards, > Swanand>ruby script/generate model model_namegenerates a migration in the db/migrate directory. -- 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 -~----------~----~----~----~------~----~------~--~---