Sha256: fb8e159f530e92bb3a06eb07997a147ab40572fc64e8f5b32ea01cae4f34602d
Contents?: true
Size: 278 Bytes
Versions: 6
Compression:
Stored size: 278 Bytes
Contents
class Post < ActiveRecord::Base acts_as_tenant belongs_to :member belongs_to :zine has_one :team, :through => :zine def self.get_team_posts( team_id ) # Post.where( where_restrict_tenant(Zine, Member) )\ # .order("members.last_name") end end
Version data entries
6 entries across 6 versions & 1 rubygems