Enumerize Versions Save

Enumerated attributes with I18n and ActiveRecord/Mongoid support

v2.5.0

2 years ago

What's Changed

New Contributors

Full Changelog: https://github.com/brainspec/enumerize/compare/v2.4.0...v2.5.0

v2.3.1

5 years ago

enhancements

  • Add ability to skip validations by passing :skip_validations option. (by @chumakoff)
  • Add option scope: shallow to extend scopes based on enumerized attribute values (by @moofkit)

bug fix

  • Fix issue with ActiveRecord and Mongoid reload method when enumberized attributes weren't synced from DB. (by @nashby and @FunkyloverOne)
  • Fix issue with ActiveRecord reload method not working for ActiveRecord::Store attributes due to 1b776c. (by @rickcsong)

v2.2.2

6 years ago

bug fix

  • Support non-ActiveModel objects in SimpleForm/Formtastic integration. (by @nashby)

v2.2.1

6 years ago

bug fix

  • Fix issue with SimpleForm/Formtastic forms without object. (by @nashby)

v2.2.0

6 years ago

enhancements

  • Add integration with active_interaction. (by @runephilosof)
  • Allow using plugin :enumerize with Sequel. (by @jnylen)
  • Support ActiveModel::Attributes from Rails 5.2. (by @troter)
  • Support Sequel 5.2.0. (by @troter)

bug fix

  • Fix RailsAdmin integration when enumerated field used on edit form and enumerated value wasn't set. (by @nashby)
  • Fallback to a raw passed value instead of nil if AR type can't find value in the attribute. (by @nashby)

v2.1.2

7 years ago

bug fix

  • Support YAML serialization for the custom AR type. (by @lest)

v2.1.1

7 years ago

enhancements

  • Run tests with multiple DBs (SQLite and PostgreSQL). (by tkawa)

bug fix

  • Support deserialize and Rails 4.2 methods in the custom AR::Type class. (by @lest)
  • Support dumping custom AR type to JSON. (by @lest)

v2.1.0

7 years ago

enhancements

  • Support Active Record types serialization. (by @lest)