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