Sha256: 755754b9b36e7584ab8dc22dc4713cbba230141f424e67f4e92192e226990beb
Contents?: true
Size: 358 Bytes
Versions: 2
Compression:
Stored size: 358 Bytes
Contents
class DModel < ActiveRecord::Base acts_as_json_column columns: [:arr] validates :arr, json: { schema: Schemas::Arr.schema.to_json} # => ArgumentError: Unknown validator: 'JsonValidator' # => from /app/vendor/bundle/gems/activemodel-4.2.1/lib/active_model/validations/validates.rb:120:in `rescue in block in validates' # => [4] pry(main)> exit end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
json_column-0.6.6 | test/dummy/app/models/d_model.rb |
json_column-0.6.5 | test/dummy/app/models/d_model.rb |