aboutsummaryrefslogtreecommitdiffstats
path: root/activerecord/lib
diff options
context:
space:
mode:
authorAkira Matsuda <ronnie@dio.jp>2011-05-18 20:37:57 +0900
committerAkira Matsuda <ronnie@dio.jp>2011-05-18 23:20:19 +0900
commitcce461511bde8f86aa6f82775320070ccc688273 (patch)
tree9fdee4f56bee252783bc1631ca9028d00e6d0aef /activerecord/lib
parent32b9cefb637741ac7158085790cda56360a229f2 (diff)
downloadrails-cce461511bde8f86aa6f82775320070ccc688273.tar.gz
rails-cce461511bde8f86aa6f82775320070ccc688273.tar.bz2
rails-cce461511bde8f86aa6f82775320070ccc688273.zip
be sure to parenthesize the arguments when the first one is a RegExp literal
this fixes: "warning: ambiguous first argument; put parentheses or even spaces" because: you need this to tell the parser that you're not calling :/ method (division) details (Japanese!): http://blade.nagaokaut.ac.jp/cgi-bin/vframe.rb/ruby/ruby-dev/42445?42370-43277
Diffstat (limited to 'activerecord/lib')
0 files changed, 0 insertions, 0 deletions