samedi 3 octobre 2015

Ruby on Rails ActiveRecord scopes vs class methods

Rails internally converts scopes to class methods then why can't we use class methods itself instead of going with scopes.

Aucun commentaire:

Enregistrer un commentaire