Sha256: 74ee02840ec8b2221e766f001e323c7e0547241b172098bdcfe7fd07b6e5210d

Contents?: true

Size: 837 Bytes

Versions: 3

Compression:

Stored size: 837 Bytes

Contents

- make 'any' work even when the same attribute_query is specified twice: 
  * Person.any(:conditions => { :first_name.eql => "Bob", :first_name.eql => "Nathan" }) (?)
  * Person.any(:conditions => { :first_name.eql => ["Bob", "Nathan"] })
- make it work with objects that include all types of eager loaded associations (?)
- include support for joined or included attributes (?)

=== Notes on Find Hierarchy ===

activerecord/base.rb
  find (line 581)
    find_every (line 1484)
      construct_finder_sql (line 1615)
        add_conditions! (line 1729)
            merge_conditions (line 1436)
              sanitize_sql_for_conditions (line 2068)
                sanitize_sql_hash_for_conditions (line 2139)
                   attribute_condition (line 1855)
            

activerecord/associations
  find_with_associations (line 1247)

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
sprsquish-conditions_fu-0.2.0 TODO.txt
sprsquish-conditions_fu-0.2.1 TODO.txt
sprsquish-conditions_fu-0.3.0 TODO.txt