Hi Bjørn,
thanks for your direction.
The question is created by one bug in my program - I wanna use the super
to in my overriding "find_by_email" functions. I found that I can
override it the first time, but afterwards, the super class method is
called instead (skipped my overriding code tota
> Hi All,
>
> Today, when I debug, I found that I don't understand a very basic
> function "super".
>
>
>
> class User < ActiveRecord::Base
> def self.columns
>puts "here."
>@ret = super
>return @ret
> end
>
> end
>
>
> This return only one line of "here
2 matches
Mail list logo