Closed minhtriet closed 10 years ago
This is a stupid question, but you've set that ENV on your production box, right?
I put that project in Heroku, so yes.
Also, an export RAILS_ENV = production
also destroys the app, and an export RAILS_ENV = development
fixes it, I am currently set the environment to development in my server
Do you have configured your ENV['SL_BASECAMP_ID'] correctly on production? Maybe you have an error in one of your configs or something is missing and the ID is nil?
@minhtriet so - using the heroku command line tools
heroku config:get SL_BASECAMP_ID
shows you the correct ID?
heroku config:set SL_BASECAMP_ID="xxx"
helped me solve the problems.
Thank you very much and sorry for the false alarm
No problem @minhtriet, let me know if you run into any other issues or would like to submit a feature request!
The following code works in development environment but not in production environment
Now @logan always return null
``NoMethodError (undefined method
people' for nil:NilClass):