Skip to content


Subversion checkout URL

You can clone with
Download ZIP
Commits on Jan 25, 2015
Commits on Jan 7, 2015
  1. @iangreenleaf
  2. @iangreenleaf

    Be flexible in finding name of primary key

    iangreenleaf authored
    Mongoid and ActiveRecord handle this differently.
  3. @iangreenleaf
  4. @iangreenleaf

    Always return a criteria for default scope

    iangreenleaf authored
    ActiveRecord didn't choke on a nil, but Mongoid did.
Commits on Dec 19, 2014
  1. @iangreenleaf

    Include anonymous module instead of defining directly

    iangreenleaf authored
    This inserts the overridden attributes into the standard
    include-inheritance chain, instead of overriding the methods directly on
    the target class. Should be nicer, and allows non-inheritance-based
    models to work, as in Mongoid.
  2. @iangreenleaf

    Only use ActiveRecord and ActionController if already present

    iangreenleaf authored
    Allows manual inclusion in non-standard Rails stacks, such as Mongoid.
Commits on Nov 17, 2014
  1. @davekaro

    add Sidekiq middleware before Sidekiq's own Retry middleware.

    davekaro authored
    This way, inside the sidekiq_retries_exhausted block,
    the current_tenant will be properly set.
Commits on Nov 15, 2014
  1. Merge pull request #95 from sol1dus/polymorphic_foreign_key

    Polymorphic foreign key
  2. Merge pull request #93 from IgorDobryn/master

    Fix fefault scope to generate correct sql when using database prefix.
Commits on Nov 11, 2014
  1. @sol1dus


    sol1dus authored
Commits on Nov 10, 2014
  1. @sol1dus
Commits on Oct 16, 2014
  1. @IgorDobryn
Commits on Sep 2, 2014
  1. @matiasdim

    Update model extension.rb to fix #82

    matiasdim authored
    Now, association_class query is made generic (by primary_key), not by id. Useful where primary_key has been changed for another attribute.
Commits on Aug 14, 2014
Commits on Jun 25, 2014
  1. Merge pull request #77 from davekaro/master

    support sidekiq 3 interface
  2. Merge pull request #67 from preth00nker/master

    added set_current_tenant_by_subdomain_or_domain
Commits on May 31, 2014
  1. @davekaro

    support sidekiq 3 interface

    davekaro authored
Commits on Apr 1, 2014
  1. Version bump.

Commits on Mar 31, 2014
  1. @jorgevaldivia
Commits on Jan 27, 2014
  1. @preth00nker
Commits on Jan 12, 2014
Commits on Jan 11, 2014
  1. add class_name

    elja authored
    fix scoped_by_tenant?
Commits on Jan 10, 2014
  1. Merge pull request #63 from tmaier/feature/sidekiq

    Add Sidekiq middleware
Commits on Jan 9, 2014
  1. @tmaier

    Fix performance tweak when current_tenant is nil but super would retu…

    tmaier authored
    …rn the right tenant. #62
    Followup of bd82e69
Commits on Jan 8, 2014
  1. @tmaier

    Add sidekiq support

    tmaier authored
Commits on Jan 7, 2014
  1. Bug fix to performance tweak.

Commits on Jan 5, 2014
  1. Version bump for RubyGems.

Commits on Jan 4, 2014
  1. Small fix to previous commit.

Commits on Jan 3, 2014
Something went wrong with that request. Please try again.