Hi

I have a rails 3 app that has been using postgres database up until
now. I'm in the processing to switching to mysql so that I can avail
amazon's rds. I have noticed when running my tests that in all my
models that should have decimals values the values are being rounded
to integers.

I think the problem is that the migrations  don't set :precision
and :scale values for decimal values which seem to be needed for
mysql. Looking at the tables directly this seems to be the case

Is the a better solution to this problem than editing all the
migration files?

Any pointer would be great appreciated

-- 
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