On 1 January 2011 13:06, Michael Baldock <[email protected]> wrote:
> [...]
> Somewhere along the way eventDate is being changed to eventdate, and
> this is messing up the search.
> I've tested this using columns that don't contain capital letters and it
> works fine. So as far as I can tell, my database of events is still
> working.
>
> Is there any way of forcing the Heroku 'order' search to keep the
> capitals?
>
> Or do I need to change all my columns?

That is what I would suggest, stick to the Rails conventions and life
will be much easier.   So it should be event_date.

>
> If I have to change columns, is there any way of keeping all the data?

Yes of course, just use rename_column in a migration.
No doubt your automated tests are comprehensive so in terms of the
code global search and replace should do most of the work for you.

Colin

-- 
You received this message because you are subscribed to the Google Groups "Ruby 
on Rails: Talk" 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/rubyonrails-talk?hl=en.

Reply via email to