I'm trying to run a db:auto:migrate in my system and it keep throwing the undefined method `to_sym' for nil:NilClass whenever it gets to a column that uses a type of date. If I change the field to a datetime and run the migrate, it will change the field to a date with no errors. What is causing this problem. I have to keep changing the field type every time I want to run my migration.
The reason I'm using the date type instead of the datetime is because I am trying to output the date and Rails keeps adjusting the data for my time zone, which is giving out bad data.
Thank you.
Josh