Module: Blueprinter::ActiveRecordHelpers Private
- Included in:
- Base
- Defined in:
- lib/blueprinter/helpers/active_record_helpers.rb
This module is part of a private API. You should avoid using this module if possible, as it may be removed or be changed in the future.
Defined Under Namespace
Modules: SingletonMethods
Class Method Summary collapse
- .included(base) ⇒ Object private
Instance Method Summary collapse
Class Method Details
.included(base) ⇒ Object
This method is part of a private API. You should avoid using this method if possible, as it may be removed or be changed in the future.
3 4 5 |
# File 'lib/blueprinter/helpers/active_record_helpers.rb', line 3 def self.included(base) base.extend(SingletonMethods) end |
Instance Method Details
#active_record_relation?(object) ⇒ Boolean
This method is part of a private API. You should avoid using this method if possible, as it may be removed or be changed in the future.
7 8 9 |
# File 'lib/blueprinter/helpers/active_record_helpers.rb', line 7 def active_record_relation?(object) self.class.active_record_relation?(object) end |