Skip to content

The Fourth Kind (4.0.0)

Latest
Compare
Choose a tag to compare
@beerlington beerlington released this 28 Dec 14:39
· 9 commits to master since this release

See the upgrade guide for help upgrading to the latest version.

  • Adds support for Ruby 2.2.0
  • Adds support for Rails 4.2.0
  • [BREAKING] Removes support for Ruby 1.8.7
  • [BREAKING] Removes support for Rails 3.0.x and 3.1.x
  • [BREAKING] Active Record models must explicitly include ClassyEnum::ActiveRecord now
  • [BREAKING] Removed use of null objects. Blank values are now returned as is from Enum.build.
  • [BREAKING] Removed serialize_as_json option. #as_json should be overriden in ClassyEnum::Base subclasses instead.
  • [BREAKING] Removed allow_blank option from Enum.build. This was used internally for legacy reasons and is no longer needed.
  • [BREAKING] Fixes support for ActiveModel::Dirty. Now dirty attribute methods always return enum class instance (instead of string).
  • Prefer 'class_name' over 'enum' as optional class name argument