Sha256: b474b7c29331305fb6a6849cd98bb215fefc59fb4229dd5b6673c52cda093023

Contents?: true

Size: 234 Bytes

Versions: 1

Compression:

Stored size: 234 Bytes

Contents

class Admin
  include DataMapper::Resource  
  
  property :id,   Serial
  property :username, String
  
  devise :authenticatable, :registerable, :timeoutable, :recoverable
  
  def self.create!(*args)
    create(*args)
  end
  
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
devise-1.1.rc0 test/rails_app/app/data_mapper/admin.rb