FooBarWidget/default_value_for — pull request #32 by tsmango (2013-07-07 13:37:57+00:00)
Title: Added support for Rails 4.

As of Rails 4.x, only values that are flagged as changed are persisted during a save. Because of this, values set with default_value_for were passing validators on ActiveRecord models, but not actually being inserted in the underlying database. This pull request resolves that issue so that default_value_for is compatible with Rails 4.x.