tekin
June 6, 2008, 1:41pm
1
Hi,
Are migrations currently broken because of the changes to Rails in 2.1?
I can migrate a plugin first time, but when I add a new migration to the
plugin and try and migrate up, rather than migrating from the current
version, Rails tries to run all the migrations from the top.
Is this because engines uses Rails’ migration engine and thus isn’t
currently compatible with the new UTC timestamp format? Is there a way
around this?
Thanks,
Tekin
tekin
June 6, 2008, 3:47pm
2
I think this should work. I’ll try writing some tests to verify it -
stay tuned to the lighthouse ticket.
Cheers,
James
tekin
June 6, 2008, 5:32pm
3
tekin
August 22, 2008, 11:07pm
4
James is there any movement on this? I recently migrated Substruct to
Rails 2.1 and I’m experiencing the same issue.
Tried Sven’s fork over on github which didn’t work either. Seems both
of them want to run plugins from my engine from 1 onward.
Is there a definite fix by now?
seth - subimage llc
Cashboard - Estimates, invoices, and time tracking software - for free!
http://www.getcashboard.com
Substruct - Open source RoR e-commerce software.
http://code.google.com/p/substruct/
tekin
August 23, 2008, 7:20am
5
seth b. wrote:
James is there any movement on this? I recently migrated Substruct to
Rails 2.1 and I’m experiencing the same issue.
Tried Sven’s fork over on github which didn’t work either. Seems both
of them want to run plugins from my engine from 1 onward.
Is there a definite fix by now?
FYI: I resolved the issue with Samuel’s patch available here:
http://engines.lighthouseapp.com/attachments/32727/engines.diff
tekin
June 9, 2008, 1:18pm
6
Test runs fine for me too. I try do a bit more digging as the same
plugins were migrating fine on a 1.2 rails app.