Skip to content

Releases: brainspec/enumerize

v2.5.0

24 Dec 15:18
9dd68ca
Compare
Choose a tag to compare

What's Changed

New Contributors

Full Changelog: v2.4.0...v2.5.0

2.3.1

02 May 14:19
v2.3.1
Compare
Choose a tag to compare

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)

2.2.2

06 Mar 07:35
v2.2.2
Compare
Choose a tag to compare

bug fix

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

2.2.1

15 Feb 15:49
v2.2.1
Compare
Choose a tag to compare

bug fix

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

2.2.0

13 Feb 10:06
v2.2.0
56c9da0
Compare
Choose a tag to compare

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)

2.1.2

18 May 07:48
v2.1.2
b85c070
Compare
Choose a tag to compare

bug fix

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

2.1.1

01 May 09:29
v2.1.1
d207627
Compare
Choose a tag to compare

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)

2.1.0

31 Mar 15:57
v2.1.0
5b4de48
Compare
Choose a tag to compare

enhancements

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