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
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
Hi 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.