Sha256: d15e446c7c01dcb14d842ada644de5c24a08e34844ba5e7999c72427513fb369

Contents?: true

Size: 458 Bytes

Versions: 1

Compression:

Stored size: 458 Bytes

Contents

DEPRECATION WARNING: The `Validator#setup` instance method is deprecated and will be removed on Rails 4.2. Do your setup in the constructor instead:

class MyValidator < ActiveModel::Validator
  def initialize(options={})
    super
    options[:class].send :attr_accessor, :custom_attribute
  end
end
. (called from enju_leaf_user_model at /Users/kosuke/.rbenv/versions/2.1.2/lib/ruby/gems/2.1.0/bundler/gems/enju_leaf-ece6a6f49d05/lib/enju_leaf/user.rb:36)

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
enju_purchase_request-0.1.0.pre9 spec/dummy/log/development.log