berk / tr8n

This repository has moved to:
https://github.com/tr8n/tr8n
MIT License
280 stars 37 forks source link

changed migration index names from symbols to strings #2

Closed stevecrozz closed 13 years ago

stevecrozz commented 13 years ago

I don't have a very deep understanding of why I had to do this, but the included migrations wouldn't run on my system. They failed with errors like:

undefined method `length' for :tr8n_sources_source:Symbol

After changing these to symbols the migrations ran fine and I have a working tr8n system to play with. Rails version: 2.3.9 Ruby version: 1.8.7

--Stephen

berk commented 13 years ago

Thank you for fixing this Stephen, someone mentioned this to me before. For some reason Rails only likes the index names as strings... It might have been fixed in Rails 2.3.10. That's what i am running.

Anyhow, I merged in your changes.