Sha256: 504fe1ebf749525da9b5ccf3d62cec5ddac9806db40382001fa82d2365fa1258

Contents?: true

Size: 1.33 KB

Versions: 1

Compression:

Stored size: 1.33 KB

Contents

# 0.2.0

* Needs Reform >= 2.3.0.
* make the inclusion of ActiveModel form builder modules optional when using dry-validation. This can be controlled via `config.reform.enable_active_model_builder_methods = true`.
* delegate `validates_each` method and allow it to be called outside a validation block.
* add `case_sensitive` option to Reform Uniqueness validation. Defaults to true.
* fix bug in uniqueness validation where form has different attribute name to column
* improve handling of persisted records in uniqueness validator
* remove params.merge! as it's deprecated in rails 5
* update to support reform 2.3, the new API means that `errors.add` is delegated to ActiveModel::Errors so we have support for rails 5 :descriptions without having to do anything !Yey!
* Fix nested form validation (#53)

# 0.1.7 (0.1.6 Yanked)

* Fix a bug where requiring `form/active_model/validations` in a non-Rails environment wouldn't load all necessary files.

# 0.1.5

* Allow using Reform-Rails without Rails (it used to crash when not loading `rails.rb`).

# 0.1.4

* Allow setting `config.reform` in initializers, too.

# 0.1.3

* Introduce a railtie to load either `ActiveModel::Validations` *or* `Dry::Validations`. This can be controlled via `config.reform.validations = :dry`.

# 0.1.2

* Allow Reform-2.2.0.rc1 in gemspec.

# 0.1.1

* First working release.

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
reform-rails-0.2.0.rc2 CHANGES.md