pluginaweek/preferences — pull request #9 by hoverlover (2012-09-01 05:20:14+00:00)
Title: Fix for getting around mass assignment whitelist.

This fixes a problem that occurs when `config.active_record.whitelist_attributes = true` in `config/application.rb`. If this is set, preferences tries to build a new Preference object using

```ruby
attributes = {:name => name, :group_id => group_id, :group_type => group_type}
stored_preferences.build(attributes)
```

This will fail due to the whitelist configuration option.