Sha256: 9461deec238a4b9798988c242aeb85b72184b8e68d1c696c6c78e2ffe1c95374

Contents?: true

Size: 163 Bytes

Versions: 16

Compression:

Stored size: 163 Bytes

Contents

class <%= options[:user_class_name] %> < ActiveRecord::Base

  ROLE = Typus::Configuration.roles.keys.sort
  LANGUAGE = Typus.locales

  enable_as_typus_user

end

Version data entries

16 entries across 16 versions & 1 rubygems

Version Path
typus-3.0.2 lib/generators/templates/model.rb
typus-3.0.1 lib/generators/templates/model.rb
typus-3.0.0 lib/generators/templates/model.rb
typus-1.0.0.pre13 lib/generators/templates/model.rb
typus-1.0.0.pre12 lib/generators/templates/model.rb
typus-1.0.0.pre11 lib/generators/templates/model.rb
typus-1.0.0.pre10 lib/generators/templates/model.rb
typus-1.0.0.pre9 lib/generators/templates/model.rb
typus-1.0.0.pre8 lib/generators/templates/model.rb
typus-1.0.0.pre7 lib/generators/templates/model.rb
typus-1.0.0.pre6 lib/generators/templates/model.rb
typus-1.0.0.pre5 lib/generators/templates/model.rb
typus-1.0.0.pre4 lib/generators/templates/model.rb
typus-1.0.0.pre3 lib/generators/templates/model.rb
typus-1.0.0.pre2 lib/generators/templates/model.rb
typus-1.0.0.pre lib/generators/templates/model.rb