diff options
author | eileencodes <eileencodes@gmail.com> | 2019-05-10 16:25:35 -0400 |
---|---|---|
committer | eileencodes <eileencodes@gmail.com> | 2019-05-10 16:28:08 -0400 |
commit | 5df84533d5c93e32dff35a9ec51d7f1009793bfb (patch) | |
tree | 996e4eeadf87f70fcd05dd4e467af54281676f33 /railties/lib/rails/mailers_controller.rb | |
parent | d155f61b64e7cecc56fe6281d084e1b12a0a3584 (diff) | |
download | rails-5df84533d5c93e32dff35a9ec51d7f1009793bfb.tar.gz rails-5df84533d5c93e32dff35a9ec51d7f1009793bfb.tar.bz2 rails-5df84533d5c93e32dff35a9ec51d7f1009793bfb.zip |
Fix database loading when ERB is single line ternary
*sigh* this seems like the never ending bug. I don't love or even like
this fix but it does _work_.
Rafael suggested using `dummy_key: dummy_value` but unfortunately
that doesn't work. So we're left with checking whethere there might be
ternary type things in the content and then assuming that we want to
replace the line with a key value pair.
Technically fixes https://github.com/rails/rails/issues/36088
Diffstat (limited to 'railties/lib/rails/mailers_controller.rb')
0 files changed, 0 insertions, 0 deletions