Friday, May 14, 2010
Double Callbacks
I wasted an entire day because i placed a backup file of a model in the app/models/ directory. (I think I made a similar mistake before :P ) And in that backup, there are callbacks so even when i removed the callbacks in the actual model file, the callback was still being called. Maybe I was creeped out so it took me the entire day to figure it out. Remember, rails loads the entire directory! What a noob mistake.
Subscribe to:
Post Comments (Atom)

No comments:
Post a Comment