diff options
author | Agis- <corestudiosinc@gmail.com> | 2014-10-28 23:18:58 +0200 |
---|---|---|
committer | Agis- <corestudiosinc@gmail.com> | 2014-11-25 22:26:42 +0200 |
commit | 8f7434adba492bfa52463d1eeeaf7d5cb16288f6 (patch) | |
tree | cd63dbc0b89af302931a368912242468e5229d9d /activerecord/activerecord.gemspec | |
parent | 4426b726bfd3f7d26224c2d8ffdc3c00cd1b561a (diff) | |
download | rails-8f7434adba492bfa52463d1eeeaf7d5cb16288f6.tar.gz rails-8f7434adba492bfa52463d1eeeaf7d5cb16288f6.tar.bz2 rails-8f7434adba492bfa52463d1eeeaf7d5cb16288f6.zip |
Local vars should exist in partials for falsy `:object:` values too
c67005f221f102fe2caca231027d9b11cf630484 made the local var in partials
available only if what passed to `:object` was truthy.
For example this would not make the local variable `foo` available inside the
partial:
render partial: 'foo', object: false
Fixes #17373.
Diffstat (limited to 'activerecord/activerecord.gemspec')
0 files changed, 0 insertions, 0 deletions