You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
tchandy edited this page Mar 19, 2011
·
2 revisions
For default, Octopus will clean the table name of the model after each #using call. This is needed to ensure compatibility when your project uses different databases (like a shard using mysql and another using postgresql), and they have different quoted table names. if you are using only one adapter, Octopus will not touch in your table name.
To set a default table name, use octopus_set_table_name:
class Bacon < ActiveRecord::Base
octopus_set_table_name("yummy")
end