Table Aliasing and Legacy Naming
So you have a User model in your Rails app... by default Rails will look for a “users” table.
class User < ActiveRecord::Base
end
Unfortunately (in our example), that user information is stored in a legacy database with the table name USER_DATA_TBL05 (brrr, the horror). You can't change the name of the table to make Rails happy because your legacy “enterprise” apps would break.


Recent comments
1 year 23 weeks ago
1 year 23 weeks ago
1 year 25 weeks ago
1 year 27 weeks ago
1 year 42 weeks ago
1 year 45 weeks ago
1 year 45 weeks ago
1 year 45 weeks ago
1 year 46 weeks ago
1 year 48 weeks ago