Sha256: 0bdae455ef8297f2a79d08b29abd486f6ec2468c21cf3917ed7bde856704e3d1

Contents?: true

Size: 123 Bytes

Versions: 10

Compression:

Stored size: 123 Bytes

Contents

class Role < ActiveRecord::Base
  has_many :assignments
  has_many :users, through: :assignments
  has_many :abilities
end

Version data entries

10 entries across 10 versions & 1 rubygems

Version Path
bootswatch_rails-3.2.0.33 lib/generators/bootswatch_rails/sorcery/templates/role_model.rb
bootswatch_rails-3.2.0.32 lib/generators/bootswatch_rails/sorcery/templates/role_model.rb
bootswatch_rails-3.2.0.31 lib/generators/bootswatch_rails/sorcery/templates/role_model.rb
bootswatch_rails-3.2.0.30 lib/generators/bootswatch_rails/sorcery/templates/role_model.rb
bootswatch_rails-3.2.0.29 lib/generators/bootswatch_rails/sorcery/templates/role_model.rb
bootswatch_rails-3.2.0.28 lib/generators/bootswatch_rails/sorcery/templates/role_model.rb
bootswatch_rails-3.2.0.27 lib/generators/bootswatch_rails/sorcery/templates/role_model.rb
bootswatch_rails-3.2.0.26 lib/generators/bootswatch_rails/sorcery/templates/role_model.rb
bootswatch_rails-3.2.0.25 lib/generators/bootswatch_rails/sorcery/templates/role_model.rb
bootswatch_rails-3.2.0.24 lib/generators/bootswatch_rails/sorcery/templates/role_model.rb