[Rails] Re: when migrating add_index error: invalid date

2011-02-11 Thread Nikos Dimitrakopoulos
Replace mysql2 gem with mysql (at least for development mode under windows). Solved here : https://groups.google.com/d/msg/rubyonrails-talk/a-wyECimZ5g/1F0sgAcje0cJ -- You received this message because you are subscribed to the Google Groups Ruby on Rails: Talk group. To post to this group,

[Rails] Re: when migrating add_index error: invalid date

2010-10-29 Thread Greg Ma
tonyaraujo wrote in post #957977: add_index(pages, subject_id) add-index(pages, permalink) Have you tried this? add_index :pages, :subject_id add_index :pages, :permalink -- Posted via http://www.ruby-forum.com/. -- You received this message because you are subscribed to the Google

[Rails] Re: when migrating add_index error: invalid date

2010-10-29 Thread tonyaraujo
Thanks for the reply, after trying your suggestion I still get the same invalid date error. I can only migrate if I comment the add_index part. On Oct 29, 5:19 am, Greg Ma li...@ruby-forum.com wrote: tonyaraujo wrote in post #957977:     add_index(pages, subject_id)     add-index(pages,