Hello everyone. My code broke recently, and I can’t figure out why
it was the upgrade to 0.14.3?). Anyway, I have an ActiveRecord mapping
phpBB database. Pulling data from that mapping works just fine. However,
when I try to save data (ie on a ‘create’ or ‘save’) I get this error:
undefined local variable or method `table_name’ for
This had been working just fine before, and I hadn’t touched the mapping
quite some time (which is why I suspect the Rails upgrade).
Did something change in recent Rails/ActiveRecord upgrades? Why would I
able to pull data from the mapping without problem (clearly it
the which table name to use in this case!?) but when I go to save I get
error. This happens both when browsing the site (lighttpd/fcgi) as well
when running script/console in dev mode.
Any idea what is going on here? My model simply looks like this right
class PhpbbPostsText < ActiveRecord::Base