1
0
Fork 0
mirror of https://github.com/rails/rails.git synced 2022-11-09 12:12:34 -05:00
rails--rails/actionview/lib
Miklos Fazekas be0875f458 Fixed undefined method `i18n_key' for nil:NilClass for labels in non AR form_for
Refactoring at #18647 broke using non active record objects in form_for. This patch
restores the original behaviour where we only compute i18 key when object.respond_to?(:to_model)
2015-02-06 22:44:48 +01:00
..
action_view Fixed undefined method `i18n_key' for nil:NilClass for labels in non AR form_for 2015-02-06 22:44:48 +01:00
action_view.rb Update copyright notices to 2015 [ci skip] 2014-12-31 08:34:14 +01:00