Sha256: 61081c78ed887363ec72af480116b83a87d79275b236294138ec6756f6300763
Contents?: true
Size: 311 Bytes
Versions: 4
Compression:
Stored size: 311 Bytes
Contents
class Blog < ActiveRecord::Base extend FriendlyId include Authority::Abilities resourcify self.authorizer_name = 'BlogAuthorizer' belongs_to :user attr_accessible :description, :name, :slug validates_presence_of :name, :user friendly_id :name, use: :slugged acts_as_taggable end
Version data entries
4 entries across 4 versions & 2 rubygems