Sha256: d34de1b230228f72668aabb26f5a5b447bdb957c11471f9a2c9b7fdce87a815d

Contents?: true

Size: 135 Bytes

Versions: 14

Compression:

Stored size: 135 Bytes

Contents

class Role < ActiveRecord::Base
  has_many :assignments
  has_many :<%= table_name %>, through: :assignments
  has_many :abilities
end

Version data entries

14 entries across 14 versions & 1 rubygems

Version Path
bootswatch_rails-3.3.0.4 lib/generators/bootswatch_rails/sorcery/templates/role_model.rb
bootswatch_rails-3.3.0.3 lib/generators/bootswatch_rails/sorcery/templates/role_model.rb
bootswatch_rails-3.3.0.2 lib/generators/bootswatch_rails/sorcery/templates/role_model.rb
bootswatch_rails-3.3.0.1 lib/generators/bootswatch_rails/sorcery/templates/role_model.rb
bootswatch_rails-3.2.0.43 lib/generators/bootswatch_rails/sorcery/templates/role_model.rb
bootswatch_rails-3.2.0.42 lib/generators/bootswatch_rails/sorcery/templates/role_model.rb
bootswatch_rails-3.2.0.41 lib/generators/bootswatch_rails/sorcery/templates/role_model.rb
bootswatch_rails-3.2.0.40 lib/generators/bootswatch_rails/sorcery/templates/role_model.rb
bootswatch_rails-3.2.0.39 lib/generators/bootswatch_rails/sorcery/templates/role_model.rb
bootswatch_rails-3.2.0.38 lib/generators/bootswatch_rails/sorcery/templates/role_model.rb
bootswatch_rails-3.2.0.37 lib/generators/bootswatch_rails/sorcery/templates/role_model.rb
bootswatch_rails-3.2.0.36 lib/generators/bootswatch_rails/sorcery/templates/role_model.rb
bootswatch_rails-3.2.0.35 lib/generators/bootswatch_rails/sorcery/templates/role_model.rb
bootswatch_rails-3.2.0.34 lib/generators/bootswatch_rails/sorcery/templates/role_model.rb