Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- ActiveRecord ignores configuration
- require 'rubygems'
- require 'active_record'
- ActiveRecord::Base.establish_connection(
- :adapter => 'mysql2',
- :database => 'vft',
- :user => 'vft',
- :password => 'vft_password'
- )
- class Attachment < ActiveRecord::Base
- end
- Attachment.all
Add Comment
Please, Sign In to add comment