Permalink
Commits on Aug 26, 2016
  1. Merge pull request #188 from DockYard/add-github-templates

    add-templates
    Daniel-Xu committed on GitHub Aug 26, 2016
Commits on Aug 21, 2016
  1. add-templates

    Daniel Xu committed Aug 21, 2016
Commits on Jul 20, 2016
  1. Merge pull request #186 from leighmcculloch/add-license

    Add LICENSE
    edpaget committed on GitHub Jul 20, 2016
Commits on Jul 1, 2016
  1. Add LICENSE

    What
    ===
    Add LICENSE containing the standard MIT license sourced from
    https://opensource.org/licenses/MIT. The license was sourced from the
    gemspec, the year was been sourced from the first commit of the
    repository and copyright holder has been sourced from the author name
    of the gemspec.
    
    Why
    ===
    The license is specified in the gemspec as the MIT license, but there
    is no LICENSE file in the repository. It is standard for GitHub
    repositories to contain their license in the LICENSE file, and this
    helps inform consumers of the gem, especially those using it in
    commerical works.
    leighmcculloch committed Jul 1, 2016
Commits on Jun 3, 2016
  1. Merge pull request #170 from sescobb27/master

    Add ContainedIn Method
    edpaget committed Jun 3, 2016
Commits on May 11, 2016
  1. Fix Travis CI build badge

    and use https URLs for both travis-ci.org and badge.fury.io.
    felixbuenemann committed with edpaget Apr 2, 2016
  2. Fix some issues when looking up aliased tables

    The lookup for whether or not a column is an array fails in certain
    cases when using aliased tables.  This fixes that issues.
    pnomolos committed with edpaget Apr 19, 2016
  3. Bump version to 3.0.0

    edpaget committed Feb 19, 2016
  4. Allow CTE to be merged by ActiveRecord::Relation::Merger

    Théophile Helleboid committed with edpaget Feb 9, 2016
  5. Update README.md

    Missing db prefix in steps.
    Sean Snyder committed with edpaget Jan 1, 2016
  6. Update query_methods.rb

    shekibobo committed with edpaget Jul 14, 2015
  7. Merge pull request #183 from felixbuenemann/patch-1

    Fix Travis CI build badge
    edpaget committed May 11, 2016
Commits on Apr 2, 2016
  1. Fix Travis CI build badge

    and use https URLs for both travis-ci.org and badge.fury.io.
    felixbuenemann committed Apr 2, 2016
Commits on Feb 19, 2016
  1. Bump version to 3.0.0

    edpaget committed Feb 19, 2016
Commits on Feb 9, 2016
  1. Merge pull request #179 from chtitux/allow-cte-to-be-merged

    Allow CTE to be merged by ActiveRecord::Relation::Merger
    edpaget committed Feb 9, 2016
  2. Allow CTE to be merged by ActiveRecord::Relation::Merger

    Th��ophile Helleboid committed Feb 9, 2016
Commits on Jan 2, 2016
  1. Merge pull request #176 from Snyder-/patch-1

    Update README.md
    edpaget committed Jan 2, 2016
Commits on Jan 1, 2016
  1. Update README.md

    Missing db prefix in steps.
    Sean Snyder committed Jan 1, 2016
Commits on Jul 31, 2015
  1. Add ContainedIn Method

    So we can Query for elements in DB who match certain criteria
    ```sql
    SELECT "customers".*
    FROM "customers"
    WHERE ("customers"."categories" <@ '{Disco,Bar,Restaurant}')
    ORDER BY "customers"."id"
    ASC LIMIT 1000
    ```
    sescobb27 committed Jul 31, 2015
Commits on Jul 14, 2015
  1. Merge pull request #167 from shekibobo/patch-1

    Fix typo (leading to error) in query methods
    danmcclain committed Jul 14, 2015
  2. Update query_methods.rb

    shekibobo committed Jul 14, 2015
Commits on Apr 23, 2015
  1. Merge pull request #160 from AndrewSwerlick/master

    add ability to build with statement from raw arel
    edpaget committed Apr 23, 2015
Commits on Apr 6, 2015
  1. add ability to build with statement from raw arel

    This is particularly important when trying to to do bulk updates since
    we need to create a table with a defined schema e.g
    "WITH update(id,new_value)", and that's not currently supported.
    Implemented by changing the case statement in with build to return
    with_statement of type Arel::Nodes::As.
    Andrew Swerlick committed Apr 6, 2015
Commits on Feb 3, 2015
  1. Merge pull request #155 from edpaget/fix-sti-join-errors

    Fix error when creating a join on STI relationship
    danmcclain committed Feb 3, 2015
Commits on Feb 1, 2015
  1. Fix error when creating a join on STI relationship

    The visit_Array method in the Arel < version 4.1 PostgreSQL visitor
    tries to query the schema cache to get the type the column. When querying
    with an STI model using a JOIN statement the Arel node that gets passed
    to this method is an Arel::Nodes::TableAlias with a name that is not in
    the connection's schema cache. Attempting to query the schema cache results
    in a database error.
    
    This workaround simply tests if the relation type passed to the
    visit_Array method is nil or a Arel::Nodes::TableAlias and, if so, does
    not query the schema cache for the column type.
    
    Closes #154
    edpaget committed Feb 1, 2015
Commits on Jan 27, 2015
  1. Merge pull request #153 from fourseven/master

    Check for respond_to?(:array) for other DB adaptors.
    edpaget committed Jan 27, 2015
  2. When mysql2 is used alongside pg, postgres_ext expects that the column

    will respond_to? :array, which it doesn’t.
    fourseven committed Jan 27, 2015
Commits on Jan 13, 2015
  1. Version bump and changelog updates

    danmcclain committed Jan 13, 2015
  2. Bundler caching

    danmcclain committed Jan 13, 2015
  3. Changes dev pg version

    danmcclain committed Jan 13, 2015
  4. Merge pull request #151 from edpaget/fix-nested-queries

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

    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.
    edpaget committed Dec 16, 2014