I read these:
http://www.ruby-forum.com/topic/185297#new
http://www.freezzo.com/2008/05/14/override-default-find-conditions-for-model/

it works, it override the .find perfectly, however it does not cover
.find_by_id or other .find_by_XXX

Is there anyway to override all the find function of a modal? I want to
set the default "select" for User modal, only return name and id, but
not the password by default.

Thanks
-- 
Posted via http://www.ruby-forum.com/.

--

You received this message because you are subscribed to the Google Groups "Ruby 
on Rails: Talk" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/rubyonrails-talk?hl=en.


Reply via email to