I had two methods with same name which is present in both parent and child class. But I the callback before_filter: method_name is called only in parent class and the before_filter: is not present in child class. But load_object is called in child class without call_back itself.
class Parent
before_filter: call
def call // end
end
class child < Parent
def call //But the method is called here without call_back end
end
There is no class is inherited from child.
Aucun commentaire:
Enregistrer un commentaire