editing planner class to require rails_environment param