You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Fix bug that prevented default value from working when a value was passed in at initialization, and `:allows_nil => false`. Only the attributes hash was being read, so stored attributes were not being detected.
ClosesFooBarWidget#59.
Fix bug that prevented default value from working when a value was passed in at initialization, and `:allows_nil => false`. Only the attributes hash was being read, so stored attributes were not being detected.
ClosesFooBarWidget#59.
Here's what's currently in default_value_for.rb
Since the attributes hash is the only thing inspected, for non-column values this will always be nil.
It seems like the fix for this should be as easy as switching from checking the attributes hash to using the getter method.
The text was updated successfully, but these errors were encountered: