Module: Interlock::Finders
- Defined in:
- lib/interlock/finders.rb
Defined Under Namespace
Modules: ClassMethods
Class Method Summary collapse
Class Method Details
.included(klass) ⇒ Object
4 5 6 7 8 9 10 11 |
# File 'lib/interlock/finders.rb', line 4 def self.included(klass) class << klass alias_method :find_via_db, :find remove_method :find end klass.extend ClassMethods end |