remove reference to RAILS_ENV in page_context and move to Rails.env