Permalink
Commits on Jan 13, 2015
  1. Merge pull request #151 from edpaget/fix-nested-queries

    danmcclain committed Jan 13, 2015
    Fix WhereChain operators to work on joins
  2. Fix WhereChain operators to work on joins

    edpaget committed Dec 16, 2014
    Regular ActiveRecord where queries can work on joined relations, ie
    `Relation.joins(:join).where(join: { has_value: 1 })`, which also
    works with the the WhereChain `#not` method. This adapts the `#overlap`
    and `#contains_*` methods added in this gem to also work on join queries.
Commits on Dec 12, 2014
  1. Merge pull request #147 from eidge/master

    danmcclain committed Dec 12, 2014
    Fix postgres_ext for rails 4.1
Commits on Dec 9, 2014
  1. Merge pull request #145 from MatthewRDodds/master

    danmcclain committed Dec 9, 2014
    Avoid errors caused by missing active record files
  2. Merge pull request #146 from azomazo/fix-support-rails-4.2

    danmcclain committed Dec 9, 2014
    Changing the way of support for arrays in rails 4.2
Commits on Dec 7, 2014
  1. Fix postgres_ext for rails 4.1

    eidge committed Dec 7, 2014
Commits on Dec 6, 2014
  1. For ActiveRecord 4.2 change class ActiveRecord::PredicateBuilder::Arr…

    azomazo committed Dec 6, 2014
    …ayHandler instead of changing the class ActiveRecord::PredicateBuilder.
Commits on Dec 5, 2014
Commits on Oct 13, 2014
  1. Version bump

    danmcclain committed Oct 13, 2014
  2. Merge pull request #141 from edpaget/ar-4.2-support

    danmcclain committed Oct 13, 2014
    ActiveRecord 4.2 Support
  3. Fix for ActiveRecord ~> 4.2 compatibility

    edpaget committed Oct 9, 2014
    Arel 6.0.0 introduced new methods for handling literals in SQL
    (strings, array, etc) and also seperated Visitors into two types,
    ones that map and ones that reduce. This fixes postgres_ext to
    hook into the Arel PostgreSQL visitor in a way that's compatible
    with the new reducing visitor calling style. This also makes sure
    literal arguments to Arel Nodes are wrapped in the new Quoted
    object. Changes to support ActiveRecord 4.2 are only conditionally
    included so the library remains compatible with older versions of
    AR.
    
    In a few minor changes:
    - Rewrite CTEProxy class to use delegate
    - Rename and combine the old visitor to patch the Arel PostgreSQL
    visitor
    - Change tests to use Regexes that match sql output from all AR
    versions
    
    An additional note: The version check in lib/postgres_ext/arel.rb will
    need to be updated when the final version of ActiveRecord 4.2 is
    released.
Commits on Jul 21, 2014
  1. Merge pull request #134 from rainerborene/rails4.1

    danmcclain committed Jul 21, 2014
    Use schema cache to look up predicate columns
Commits on Jul 20, 2014
Commits on Jul 18, 2014
  1. Version bump!

    danmcclain committed Jul 18, 2014
  2. Merge pull request #133 from dockyard/quote-ctes

    danmcclain committed Jul 18, 2014
    Quotes CTE names
  3. Quotes CTE names

    danmcclain committed Jul 18, 2014
    Fixes #130
  4. Merge pull request #132 from dockyard/add-hash-contains

    danmcclain committed Jul 18, 2014
    Adds hstore contains support
  5. Adds hstore contains support

    danmcclain committed Jul 18, 2014
    Fixes #120
  6. Merge pull request #131 from dockyard/rails4.1

    danmcclain committed Jul 18, 2014
    Rails 4.1 compat
  7. Fixes to CTEProxy for Rails 4.1

    danmcclain committed Apr 14, 2014
    Adds model name to CTEs
    
    Fixes @(_)reflections
  8. Merge pull request #126 from trumaker/prepare_for_rails4

    danmcclain committed Jul 18, 2014
    Prepare for Rails 4:
Commits on Jul 14, 2014
  1. Merge pull request #119 from dockyard/remove-rspec

    danmcclain committed Jul 14, 2014
    Remove .rspec
  2. Merge pull request #127 from rall/patch-1

    danmcclain committed Jul 14, 2014
    Update querying.md
Commits on Jun 4, 2014
  1. Update querying.md

    rall committed Jun 4, 2014
    fixes grammatical error
  2. Prepare for Rails 4:

    pboling committed Jun 4, 2014
    loosen AR version dependencies;
    implement gemfiles testing pattern;
    improve readme;
    add rake task for running tests against all supported AR versions;
    update travis.yml;
    require library being tested last in test_helper;
Commits on Apr 25, 2014
  1. Remove .rspec

    duggiefresh committed Apr 25, 2014
    MiniTest rules!
Commits on Feb 6, 2014
  1. Merge pull request #113 from tmaier/patch-1

    danmcclain committed Feb 6, 2014
    Add homepage to gemspec
  2. Add homepage to gemspec

    tmaier committed Feb 6, 2014
Commits on Feb 3, 2014
  1. Merge pull request #112 from dockyard/111_relation_table_name

    danmcclain committed Feb 3, 2014
    Fix for issue 111
Commits on Feb 2, 2014
Commits on Jan 30, 2014
  1. Version bump

    danmcclain committed Jan 30, 2014
    [ci skip]
Commits on Jan 13, 2014