This is mostly that I've gone a bit crazy, but I'm looking for an explanation of how class reloading works so I can try and debug this issue....
I have a class... class Event before_create :bootstrap_current_user def bootstrap_current_user ... saves the current user for this event... end end
class FriendRequestEvent < Event end
So, in development mode, when I hit my controller, it culminates in a: FriendRequestEvent.create()
but, I'm getting an exception in development mode only... NoMethodError: boostrap_current_user for <#FriendRequestEvent>
for what possible reason could this occur? I'm thinking maybe it's got the wrong parent class? Or somewhere else there's an Event class being reloaded, but without the method??