Hi,
I am looking for a way to add a condition to all find and paginate
methods for one class.
I am aware of with_scope, but I can not find a way to extend self.find
in the model.
Has anyone got any suggestions.
thanks
scott
Hi,
I am looking for a way to add a condition to all find and paginate
methods for one class.
I am aware of with_scope, but I can not find a way to extend self.find
in the model.
Has anyone got any suggestions.
thanks
scott
This forum is not affiliated to the Ruby language, Ruby on Rails framework, nor any Ruby applications discussed here.
Sponsor our Newsletter | Privacy Policy | Terms of Service | Remote Ruby Jobs