Ruby on Rails Sunday, February 27, 2011

Same here. I just upgraded from 3.0.3 to 3.0.5 and there is one model out of ~20 that fails to construct the table name properly:
$ rails console
Loading development environment (Rails 3.0.5)
ruby-1.9.2-head :001 > pm = PackageMeta.new
Mysql2::Error: Table 'uupdates_dev.package_meta' doesn't exist

The table name should be package_metas. It was working fine in 3.0.3.

--
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 rubyonrails-talk@googlegroups.com.
To unsubscribe from this group, send email to rubyonrails-talk+unsubscribe@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en.

No comments:

Post a Comment