Are you reproducing the error using a different database? Some databases will just cut off the data rather than throwing the error like Postgres. Why not add a restriction validates_length_of :billing_state, :maximum => 2 to your model and force a nice error to be thrown for your users when this occurs?

Steve
--
@cloudmailin
http://cloudmailin.com
Incoming email for your web app

--
You received this message because you are subscribed to the Google Groups "Heroku" group.
To post to this group, send email to heroku@googlegroups.com.
To unsubscribe from this group, send email to heroku+unsubscr...@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/heroku?hl=en.

Reply via email to