Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

Thank you, very helpful.

EDIT AGAIN: I think putting it at the end of environment.rb works. I somehow messed it up and got confused, but then I tried it again and it worked. Just make sure you confirm your fix with the curl command!



I can confirm that this method produced the desired change in a Rails 2.1.2 app.


It should work at any place where activesupport has been loaded.




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: