class Film < ActiveRecord::Base
establish_connection "feed"
set_table_name "film"
has_many :presets, :class_name => "Preset", :foreign_key => "subject_id"
end
feed:
adapter: mysql2
encoding: utf8
reconnect: false
database: feed
pool: 5
username: {someusername}
.........
production:
..........