Enumerize v2.0.0 Release Notes

Release Date: 2016-08-10 // over 7 years ago
  • ✨ enhancements

    • ⬇️ Drop support for Ruby older than 2.2. Support only Ruby 2.2+. (by @nashby)
    • ⬇️ Drop support for Rails 4.0 and 4.1. Support only Rails 4.2 and newer. (by @lest)
    • 👌 Support Rails 5.0. (by @nashby and @lest)
    • 👍 Allow to pass enumerize values to ActiveRecord#update_all (by @DmitryTsepelev and @ianwhite)
      User.update_all(status: :blocked)
    

    🐛 bug fix

    • Rescue MissingAttributeError on attribute writing. (by @embs)
    • 🛠 Fix presence validation for multiple attributes when the list contains a blank string. (by @smoriwaki)
    • Replace deprecated alias_method_chain with Module#prepend. (by @koenpunt and @akm)
    • 👉 Make it compatible with globalize gem. (by @falm)
    • 0️⃣ Prevent method getter from being called when no default_value is being set. (by @arjan0307)