mirror of
https://github.com/rails/rails.git
synced 2022-11-09 12:12:34 -05:00
eb05774531
In Rails 4.2 it is impossible to define a custom default value for a model's attribute without making it appear as _changed?, especially when the model is first initialized. Making this method publicly visible will allow such a behaviour, without the need to use private APIs. |
||
---|---|---|
.. | ||
active_model | ||
active_model.rb |