diff options
author | Miklos Fazekas <mfazekas@szemafor.com> | 2015-02-06 22:44:48 +0100 |
---|---|---|
committer | Miklos Fazekas <mfazekas@szemafor.com> | 2015-02-06 22:44:48 +0100 |
commit | be0875f4580749c2c5ad84086f2e890ddeba7de8 (patch) | |
tree | 29f5023dd29b18b0941fcbc9b9025e7e91b9b309 /tools/README.md | |
parent | 254693a39c73b6fc9ad71b47b4d652e8738bec12 (diff) | |
download | rails-be0875f4580749c2c5ad84086f2e890ddeba7de8.tar.gz rails-be0875f4580749c2c5ad84086f2e890ddeba7de8.tar.bz2 rails-be0875f4580749c2c5ad84086f2e890ddeba7de8.zip |
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)
Diffstat (limited to 'tools/README.md')
0 files changed, 0 insertions, 0 deletions