Sha256: 3e19dc35d000f67211002711aa9eff8d5463196c5728f14830e00e1783514441

Contents?: true

Size: 199 Bytes

Versions: 5

Compression:

Stored size: 199 Bytes

Contents

module ActiveRecordAssociationQueryEconomizer
  class AssociationExtension
    def valid_options
      [:preload_if]
    end

    def build(model, reflection)
      # nothing to do
    end
  end
end

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
active_record_association_query_economizer-0.1.7 lib/active_record_association_query_economizer/association_extension.rb
active_record_association_query_economizer-0.1.6 lib/active_record_association_query_economizer/association_extension.rb
active_record_association_query_economizer-0.1.5 lib/active_record_association_query_economizer/association_extension.rb
active_record_association_query_economizer-0.1.4 lib/active_record_association_query_economizer/association_extension.rb
active_record_association_query_economizer-0.1.3 lib/active_record_association_query_economizer/association_extension.rb