methods are not visible... I'm sure this is an easy one.

I'm adding methods to my models and for some reason all these new methods are not invisible when I call them. For example,

def target_language     Language.find(self.target_language_id)   end

def bob    Language.find(self.origin_language_id) end

I can call target_language, but when I call bob, I get "undefined method. But it's exactly the same! I restarted mongrel and still every *new* method is just invisible. Why is this?

I'm adding methods to my models and for some reason all these new methods are not invisible when I call them. For example,

def target_language    Language.find(self.target_language_id) end

def bob   Language.find(self.origin_language_id) end

I think you're going to have to show us some more information than this.

Fred

Make some kind of syntax error in target_language, then call it. That'll at least make sure you're changing the source you think you are. It'll also reveal if the class is just being cached.

///ark