Sha256: 1592721a230f3d4a2a0d60df672317a02d2722e4faa4a82f02f913a95177e475

Contents?: true

Size: 658 Bytes

Versions: 29

Compression:

Stored size: 658 Bytes

Contents

# This is a default user class used to activate merb-auth.  Feel free to change from a User to 
# Some other class, or to remove it altogether.  If removed, merb-auth may not work by default.
#
# Don't forget that by default the salted_user mixin is used from merb-more
# You'll need to setup your db as per the salted_user mixin, and you'll need
# To use :password, and :password_confirmation when creating a user
#
# see merb/merb-auth/setup.rb to see how to disable the salted_user mixin
# 
# You will need to setup your database and create a user.
class User
  include DataMapper::Resource
  
  property :id,     Serial
  property :login,  String
  
end

Version data entries

29 entries across 29 versions & 1 rubygems

Version Path
merb-gen-1.1.3 lib/generators/templates/application/merb_stack/app/models/user.rb
merb-gen-1.1.2 lib/generators/templates/application/merb_stack/app/models/user.rb
merb-gen-1.1.1 lib/generators/templates/application/merb_stack/app/models/user.rb
merb-gen-1.1.0 lib/generators/templates/application/merb_stack/app/models/user.rb
merb-gen-1.1.0.rc1 lib/generators/templates/application/merb_stack/app/models/user.rb
merb-gen-1.1.0.pre lib/generators/templates/application/merb_stack/app/models/user.rb
merb-gen-1.0.15 lib/generators/templates/application/merb_stack/app/models/user.rb
merb-gen-1.0.14 lib/generators/templates/application/merb_stack/app/models/user.rb
merb-gen-1.0.13 lib/generators/templates/application/merb_stack/app/models/user.rb
merb-gen-1.0.12 lib/generators/templates/application/merb_stack/app/models/user.rb
merb-gen-0.9.13 lib/generators/templates/application/merb_stack/app/models/user.rb
merb-gen-0.9.12 lib/generators/templates/application/merb_stack/app/models/user.rb
merb-gen-0.9.10 lib/generators/templates/application/merb_stack/app/models/user.rb
merb-gen-0.9.11 lib/generators/templates/application/merb_stack/app/models/user.rb
merb-gen-1.0.2 lib/generators/templates/application/merb_stack/app/models/user.rb
merb-gen-1.0.10 lib/generators/templates/application/merb_stack/app/models/user.rb
merb-gen-1.0.11 lib/generators/templates/application/merb_stack/app/models/user.rb
merb-gen-1.0.1 lib/generators/templates/application/merb_stack/app/models/user.rb
merb-gen-1.0.5 lib/generators/templates/application/merb_stack/app/models/user.rb
merb-gen-1.0.6.1 lib/generators/templates/application/merb_stack/app/models/user.rb