Permalink
Commits on Sep 15, 2016
  1. Add support for duplicate WHERE condition in both terms

    In rails 4.2 this example would fail:
    ```
    Category.join_recursive do |q|
      q.start_with(trait_id: '1').where(trait_id: '1').connect_by(id: :parent_id)
    end
    ```
    
    This commit fixes this issue
    committed Sep 15, 2016
  2. Bump version to 0.1.3

    committed Sep 15, 2016
Commits on Aug 18, 2016
  1. Bump version to 0.1.2

    committed Aug 18, 2016
  2. Fix usage of bind variables inside generated query

    Prior to this commit, relation was joined to generated subquery,
    converted to String with `#to_sql` method, which lead to situations,
    when it was impossible to use generated query as another subquery:
    ```
    organizations = Organization.join_recursive do |query|
      query.start_with(id: current_user.organization.id).connect_by(parent_organization_id: :id)
    end
    
    licenses = License.where(organization_id: organizations, license_app_id: license_app.id)
    ```
    
    Fixes #3
    committed Aug 18, 2016
Commits on Aug 16, 2016
  1. Bump version to 0.1.1

    committed Aug 16, 2016
  2. Update Travis CI gemfiles

    committed Aug 16, 2016
  3. Merge pull request #11 from blueapron/inv2.0/changes_for_laq

    Inv2.0/changes for laq
    committed on GitHub Aug 16, 2016
Commits on Jul 13, 2016
  1. Bump version to 0.1.0

    committed Jul 13, 2016
  2. Merge pull request #9 from blueapron/master

    Add a select distinct option
    committed on GitHub Jul 13, 2016
Commits on Jul 7, 2016
  1. Merge pull request #8 from take-five/fix-travis-ci-build

    Fix travis CI builds
    committed on GitHub Jul 7, 2016
  2. Remove ruby 1.9.3 from Travis, remove bundler parallelism

    committed Jul 7, 2016
  3. Version bump to 0.0.8

    committed Jul 7, 2016
  4. Merge pull request #7 from blueapron/coverage

    Coverage and README update
    committed on GitHub Jul 7, 2016
Commits on Sep 4, 2015
  1. Merge pull request #4 from ebakan/master

    Updates README.md with require instructions
    committed Sep 4, 2015
Commits on Dec 28, 2014
  1. Version dump to 0.0.6

    committed Dec 28, 2014
  2. Remove duplicates when mixing bound variables from generated subquery…

    … with joined relation
    committed Dec 28, 2014
  3. Version bump to 0.0.5

    committed Dec 28, 2014
  4. Version bump to 0.0.4

    committed Dec 28, 2014
Commits on Dec 27, 2014
  1. Version bump to 0.0.3

    committed Dec 27, 2014
  2. Added support for bound parameters

    It also adds support for Rails 4.2
    committed Dec 27, 2014
  3. Refactor CTE::Columns (simplify)

    * Use Arel::Nodes::Node#grep instead of self-written iterator
    committed Dec 27, 2014
Commits on Dec 21, 2014
  1. Use ruby 1.9 hashes style

    committed Dec 21, 2014
  2. Add more examples to README

    committed Dec 21, 2014
  3. Use constants in Arel visitor

    committed Dec 21, 2014