Sha256: 4cfa5f6c2654100529d18a5b94dc8d8e015ed44c10da473c09fe22c619ddf4da

Contents?: true

Size: 671 Bytes

Versions: 6

Compression:

Stored size: 671 Bytes

Contents

# encoding: utf-8

# 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

6 entries across 6 versions & 1 rubygems

Version Path
rango-0.2.3 benchmarks/stubs/merb-app/app/models/user.rb
rango-0.2.1 benchmarks/stubs/merb-app/app/models/user.rb
rango-0.2.1.pre benchmarks/stubs/merb-app/app/models/user.rb
rango-0.0.6 benchmarks/stubs/merb-app/app/models/user.rb
rango-0.1.pre benchmarks/stubs/merb-app/app/models/user.rb
rango-0.0.4 benchmarks/stubs/merb-app/app/models/user.rb