Guest User

Untitled

a guest
Mar 4th, 2018
113
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.21 KB | None | 0 0
  1. class Comment < ActiveRecord::Base
  2.  
  3. Comment.establish_connection(
  4. :adapter => "mysql",
  5. :host => "127.0.0.1",
  6. :username => "xxx",
  7. :password => "xxx",
  8. :database => "xxx"
  9. )
  10. end
Add Comment
Please, Sign In to add comment