class Draper::QueryMethods::LoadStrategy::ActiveRecord

Public Instance Methods

allowed?(method) click to toggle source
# File lib/draper/query_methods/load_strategy.rb, line 9
def allowed?(method)
  ::ActiveRecord::Relation::VALUE_METHODS.include? method
end