Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- require File.dirname(__FILE__) + '/../../config/boot'
- require File.dirname(__FILE__) + '/../../config/environment'
- require 'open-uri'
- ActiveRecord::Base.configurations["production"]
- ActiveRecord::Base.establish_connection
- @articles=Article.find(:all)...etc
Add Comment
Please, Sign In to add comment