Skip to content

issues Search Results · repo:wireframe/multitenant language:Ruby

Filter by

7 results
 (152 ms)

7 results

inwireframe/multitenant (press backspace or delete to remove)

Today, I noticed that when using validates :field, uniqueness: true on a model with belongs_to_multitenant doesn t cause the validation query to be restricted to the tenant. My goal was a tenant-scoped ...
  • mingan
  • 1
  • Opened 
    on Jan 18, 2016
  • #14

The problem I have faced is the following: with_tenant method works correctly only for cases where ActiveRecord relation queries db inside the with_tenant block. Otherwise, it is simply ignored. In other ...
  • k-rudy
  • 2
  • Opened 
    on Apr 20, 2013
  • #11

So far as I see the gem does not really need Rails 3.1, it should work with Rails 3.0 too. For this, the gemspec dependency should be lowered, e.g. ActiveRecord = 3
  • ledermann
  • 1
  • Opened 
    on May 31, 2011
  • #5

IMHO, using attr_accessor :current_tenant is not thread-safe. You should use Thread.current[:current_tenant] instead.
  • ledermann
  • 5
  • Opened 
    on May 31, 2011
  • #4

I just discovered multitenant, and wanted to use it on a project that I m doing. But I was unable to install the gem, getting an odd (recursive?) error that I put in the issue title. I got this error ...
  • reuven
  • 2
  • Opened 
    on May 18, 2011
  • #3

Hi, Thank you for creating a smart gem! I want to use multitenant 0.2.0 gem for my production project, but it not contains recent fix that renamed activerecord helper. So, we need to call belongs_to_tenant ...
  • juno
  • 1
  • Opened 
    on Apr 12, 2011
  • #2

Thanks for this gem. I m new to Ruby/Rails so this looks gem looks super useful for me. I am wondering exactly how I should go about using it. I understand the User class example in the readme (adding ...
  • andrewhavens
  • 9
  • Opened 
    on Mar 8, 2011
  • #1
Issue origami icon

Learn how you can use GitHub Issues to plan and track your work.

Save views for sprints, backlogs, teams, or releases. Rank, sort, and filter issues to suit the occasion. The possibilities are endless.Learn more about GitHub Issues
ProTip! 
Restrict your search to the title by using the in:title qualifier.
Issue origami icon

Learn how you can use GitHub Issues to plan and track your work.

Save views for sprints, backlogs, teams, or releases. Rank, sort, and filter issues to suit the occasion. The possibilities are endless.Learn more about GitHub Issues
ProTip! 
Press the
/
key to activate the search input again and adjust your query.
Issue search results · GitHub