Re: [Rails] Extending/reopeining class and use of super

2011-05-11 Thread David Kahn
On Wed, May 11, 2011 at 12:52 PM, Frederick Cheung < frederick.che...@gmail.com> wrote: > > On 11 May 2011, at 18:17, David Kahn wrote: > > A question on a couple things relating to extending a class and the use of > super. > > In my main application I have the following class which extends an en

Re: [Rails] Extending/reopeining class and use of super

2011-05-11 Thread Frederick Cheung
On 11 May 2011, at 18:17, David Kahn wrote: > A question on a couple things relating to extending a class and the use of > super. > > In my main application I have the following class which extends an engine > class: You are reopening the class (ie adding/changing methods in User), not subc

[Rails] Extending/reopeining class and use of super

2011-05-11 Thread David Kahn
A question on a couple things relating to extending a class and the use of super. In my main application I have the following class which extends an engine class: class User < ActiveRecord::Base def self.find_for_database_authentication(login_value, omniauth_provider=nil, omniauth_uid=nil)