diff options
author | Sebastian Martinez <sebastian@wyeworks.com> | 2011-05-23 21:45:00 -0300 |
---|---|---|
committer | Sebastian Martinez <sebastian@wyeworks.com> | 2011-05-23 21:45:00 -0300 |
commit | 130c9b71aa7e52cfac011c0c4ee7d24a1b2dcb4e (patch) | |
tree | 5b2e05bb1c1c6d3927aaec897d407bb52e7e8d52 /actionpack/lib/action_view/helpers.rb | |
parent | 8e7590c72c088e89d73d318d58e5bc3c058dea8f (diff) | |
download | rails-130c9b71aa7e52cfac011c0c4ee7d24a1b2dcb4e.tar.gz rails-130c9b71aa7e52cfac011c0c4ee7d24a1b2dcb4e.tar.bz2 rails-130c9b71aa7e52cfac011c0c4ee7d24a1b2dcb4e.zip |
Parenthesize arguments when the first one is a Regexp literal.
This fixes 'warning: ambiguous first argument; put parentheses or even spaces'.
Diffstat (limited to 'actionpack/lib/action_view/helpers.rb')
0 files changed, 0 insertions, 0 deletions