How do I create a Rails model in a different DB schema? -
i have rails 3.2 app backed ms sql 2008. models default created in dbo
schema. want have model db table has limited access want put different db schema. how do that?
turns out can define table name:
def change create_table "schema_name.table_name" |t| #init table end end
Comments
Post a Comment