changed RAILS_ENV to Rails.env in authorize_net.rb