Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- class XologicItem < ActiveRecord::Base
- self.table_name = "itemview"
- establish_connection(
- :adapter => "mysql2",
- :encoding => "utf8",
- :reconnect => true,
- :database => "database",
- :username => "username",
- :password => "password",
- :host => "host.com",
- :port => 3306
- )
- end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement