Multi tenancy with Devise and ActiveRecord's default scope • has_many :codes | Dark Hacker News