Sha256: f657e5dd36a85715dce121fa289c5aaa909796cf0c6028f13a18023ba2196357

Contents?: true

Size: 289 Bytes

Versions: 1

Compression:

Stored size: 289 Bytes

Contents

#todo move to concern/model dir
module RademadeAdmin
  module UserModule

    def self.included(base)
      base.class_eval do
        devise :database_authenticatable
      end
    end

    def password
      raise NotImplementedError.new 'Implement "password" method'
    end

  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
rademade_admin-0.0.1 lib/rademade_admin/user.rb