If you try to run a hobo_migration --migrate and it fails, the migration is still generated. Go find the generated migration in db/migrate/timestamp_your_name.rb and debug from there. You can re-run the failed migration with rake db:migrate rake db:migrate --trace will give you a more thorough stack trace.
On Wed, May 5, 2010 at 12:07 PM, Fuyi <[email protected]> wrote: > thanks,you are right, > in a model fields > i use a field name "system" > so the migration can't do in right way > > but how can i trace the migration? > use what kind option? where the log? > > -- > You received this message because you are subscribed to the Google Groups > "Hobo Users" group. > To post to this group, send email to [email protected]. > To unsubscribe from this group, send email to > [email protected]<hobousers%[email protected]> > . > For more options, visit this group at > http://groups.google.com/group/hobousers?hl=en. > > -- You received this message because you are subscribed to the Google Groups "Hobo Users" group. To post to this group, send email to [email protected]. To unsubscribe from this group, send email to [email protected]. For more options, visit this group at http://groups.google.com/group/hobousers?hl=en.
