changed RAILS_ROOT to Rails.root in authorize_net.rb