-
Fix #preferences lookup not typecasting values
-
Add support for per-group default preferences
-
Fix unsaved boolean preferences getting overridden by defaults if value is false
-
Add {preference}_changed?, {preference}_was, {preference}_changed, {preference}_will_change!, and reset_{preference}!
-
Add #preferences_changed?, #preferences_changed, and #preference_changes
-
Fix preferences that are reverted externally still getting stored
-
Fix preference definition types not being used to typecast values
-
No longer allow both group and non-group preferences to be looked up at once (except for named scopes)
-
Add support for using Symbols to reference groups
-
Fix #reload not causing unsaved preferences to get reset
-
Raise exception if unknown preference is accessed
-
Rename #set_preference to #write_preference
-
Add caching of preference lookups
-
Fix preferences being stored even if they didn’t change
-
Release gems via rake-gemcutter instead of rubyforge
-
Add a generator for db migration to make installation a bit easier [Tim Lowrimore]
-
Add named scopes: #with_preferences and #without_preferences
-
Rename Preference#attribute to #name to avoid conflicts with reserved methods in ActiveRecord
-
Add dependency on Rails 2.3
-
Remove dependency on plugins_plus
-
Remove the PluginAWeek namespace
-
Add all prefers/preferred accessors for preferences to be analogous to ActiveRecord column accessors
-
Fix preferences defined in STI subclasses not working [Quinn Shanahan]
-
Change how the base module is included to prevent namespacing conflicts
-
Add
prefs
as an alias forpreferences
-
Fix
preferences
not properly selecting preferences when a group is specified -
Improve test coverage
-
Remove log files from gems
-
Rename preference_values hash to preferences
-
Rename preferences association to stored_preferences
-
Avoid string evaluation for dynamic methods
-
Return hashes for the preference_values, e.g.
user.preference_values # => {‘color’ => ‘red’, ‘number’ => 11, ‘website’ => {‘background’ => ‘white’, ‘foreground’ => ‘black’}} user.preference_values(‘website’) # => {‘background’ => ‘white’, ‘foreground’ => ‘black’}
-
Add more generic grouping of preferences than with just other records, e.g.
user.preferred_color(‘cars’)
-
Remove support for an options hash when specifying :for associations for preference
-
Initial public release