Removing unnecessary Rails.env check