Sha256: 01793efae3e008d392e3c875160f55e4b17184ebf471edd08eaa5546a9fe978f
Contents?: true
Size: 191 Bytes
Versions: 10
Compression:
Stored size: 191 Bytes
Contents
class GroupedBlog < ActiveRecord::Base belongs_to :author scope :exclude_inactive, ->{ where(active: true) } def self.ransackable_scopes(auth = nil) [:exclude_inactive] end end
Version data entries
10 entries across 10 versions & 1 rubygems