Class: Draper::QueryMethods::LoadStrategy::ActiveRecord
- Inherits:
-
Object
- Object
- Draper::QueryMethods::LoadStrategy::ActiveRecord
- Defined in:
- lib/draper/query_methods/load_strategy.rb
Instance Method Summary collapse
Instance Method Details
#allowed?(method) ⇒ Boolean
9 10 11 |
# File 'lib/draper/query_methods/load_strategy.rb', line 9 def allowed?(method) ::ActiveRecord::Relation::VALUE_METHODS.include? method end |