Skip to content

Latest commit

 

History

History
86 lines (57 loc) · 3.02 KB

CHANGELOG.md

File metadata and controls

86 lines (57 loc) · 3.02 KB

dev

enhancements

  • ActiveRecord scopes. (by @lest)
  • Support for RailsAdmin (by @drewda)

bug fix

  • Return correct default value for enumerized attribute using default_scope with generated scope @nashby
  • Allow either key or value as valid (by aghull and @lest)

0.5.1 (December 10, 2012)

bug fix

  • Always return Enumerize::Set for multiple attributes (by @nashby)

0.5.0 (October 31, 2012)

The previous method of adding enumerize to a class was deprecated. Please use extend Enumerize instead of include Enumerize.

enhancements

  • SimpleForm support for multiple attributes. (by @nashby)
  • Formtastic support for multiple attributes. (by @nashby)
  • Array-like multiple attributes. (by @lest)

0.4.0 (September 6, 2012)

Legacy support was dropped. The following versions are supported:

  • Ruby 1.9.3+ (including JRuby and Rubinius)
  • Rails 3.2+
  • Formtastic 2.2+
  • SimpleForm 2+
  • Mongoid 3+

enhancements

  • Ability to define predicate methods on enumerized object. (by @lest)

0.3.0 (July 9, 2012)

enhancements

  • Accept a values hash to store an attribute using custom values (e.g. integers) (by @lest)

0.2.2 (May 22, 2012)

bug fix

  • Correctly assign default value to handle mass assignment in Active Record (by @lest)

0.2.1 (May 21, 2012)

bug fix

  • Call super in attribute accessors if available (by @lest)

0.2.0 (March 29, 2012)

enhancements

  • Ability to enumerize attributes in a module and then include it into classes (by @lest)
  • Add error to a model when attribute value is not included in allowed list (by @lest)

bug fix

0.1.1 (March 6, 2012)

bug fix

  • I18n regression: Multiple calls to value #text return different results (by @cgunther and @lest)

0.1.0 (March 5, 2012)

enhancements

  • Return humanized value if there are no translations (by @nashby)
  • Integration with SimpleForm (by @nashby)
  • Integration with Formtastic (by @lest)

0.0.4 (February 8, 2012)

bug fix

  • Make attribute accessors to work with ActiveRecord 3.1.x (by @lest)

0.0.3 (February 8, 2012)

enhancements