-
Fix serialization failing when ActiveRecord models have been defined prior to this plugin being loaded
-
Fix cached enumeration records not being isolated from external modifications that don’t sweep the cache
-
Respect custom primary_key configurations in ActiveRecord models [Martin Honermeyer]
-
Fix tests failing on Rails 2.3.3+
-
Release gems via rake-gemcutter instead of rubyforge
-
Add support for looking up enumerators by their symbol equivalent
-
Fix incompatibility with Ruby 1.9
-
Fix equality / xml serialization not working for non-string enumerators
-
Improve compatibility with the stable branch of Rails 2.3 [Michael Schuerig]
-
Fix bootstrapping without ids not working on update for certain database adapters
-
Improve #fast_bootstrap speed by 50% by using the connection directly
-
Allow cache to be cleared on a per-enumeration basis
-
Add #fast_bootstrap for bootstrapping large numbers of records
-
Don’t require an id during bootstrap
-
Allow bootstrapping to be easily added to non-enumerations
-
Cache results for #exists? / #calculate
-
Add the ability to skip the internal cache via Model#uncached
-
Add Model#find_all_by_enumerator
-
Don’t internally rely on Model#[] being available since it may conflict with other plugins
-
Enable caching by default for all enumerations
-
Allow caching to be turned off on an application-wide basis
-
Allow cache store to be configurable
-
Automatically trigger in-memory caching of the enumeration’s table when bootstrapping
-
Add #bootstrap for automatically synchronizing the records in an enumeration’s table
-
Improve serialization performance
-
No longer use tableless models
-
Re-brand under the enumerate_by name
-
Remove the PluginAWeek namespace
-
Fix enumeration collections not being able to convert to JSON
-
Add support for multiple enumeration values in finder conditions, e.g. Car.find_all_by_color(%w(red blue))
-
Fix non-ActiveRecord associations (e.g. ActiveResource) failing
-
Fix reloading of associations not working
-
Raise an exception if equality is performed with an invalid enumeration identifier
-
Change how the base module is included to prevent namespacing conflicts
-
Add support for serialization in JSON/XML
-
Fix named scope for enumerations that belong_to other enumerations
-
Remove log files from gems
-
Improve documentation
-
Improve performance by disabling unnecessary ActiveRecord hooks including callbacks, dirty attributes, timestamps, and transactions (important for enumerations with large sets of values)
-
Don’t let #create silently fail
-
Remove ability to reset the cache
-
Improve performance by adding pre-indexing of enumeration attributes (important for enumerations with large sets of values)
-
Remove support for array comparison
-
Remove support for multiple enumeration attributes
-
Avoid string evaluation for dynamic methods
-
Fix has_many/has_one associations improperly loading classes too early
-
Add support for string and array comparison
-
Use after_create/after_destroy callbacks instead of defining the callback method itself
-
Fix automatically clearing association cache when it shouldn’t be
-
Add support for overriding the unique attribute that defines an enumeration e.g.
acts_as_enumeration :title acts_as_enumeration :controller, :action
-
Add support for using enumerations in has_many/has_one associations
-
Add support for Rails 2.0
-
Use has_finder to auto-generate finders for each enumeration value after defining a belongs_to association
-
Removed support for database-backed enumerations in favor of always using virtual enumerations
-
Fix enumerations failing when being reloaded
-
Fix problems with setting enumeration attributes to nil
-
Add inheritance support for virtual enumerations
-
Add support for converting unsafe identifier names (like “red!”) to their safe symbol equivalent (“red”)
-
Add ability to use truth accessors for determing the identifier name
-
Add support for virtual enumerations that don’t need to be backed by the database
-
Move test fixtures out of the test application root directory
-
Convert dos newlines to unix newlines
-
Initial public release
-
Add/refactor unit tests
-
Add documentation