class DummyUser
  include ActiveModel::Validations

  attr_accessor :alchemy_roles, :language, :cache_key, :email, :password, :name, :id

  def self.logged_in
    []
  end

  def self.stamper_class_name
    :DummyUser
  end

  def update_attributes(attributes)
    attributes.each { |key,value| send("#{key}=".to_sym, value) }
  end
end

class DummyUser < ActiveRecord::Base
  attr_accessor :alchemy_roles, :name

  def self.logged_in
    []
  end
end

Make DummyUser class inherit from ActiveRecord again.
Make DummyUser class inherit from ActiveRecord again.

This reverts changes from 7b1e66940ff744535469f0bbeb563adadfa68f13
