diff options
| author | Akira Matsuda <ronnie@dio.jp> | 2011-05-18 20:37:57 +0900 | 
|---|---|---|
| committer | Akira Matsuda <ronnie@dio.jp> | 2011-05-18 23:20:19 +0900 | 
| commit | cce461511bde8f86aa6f82775320070ccc688273 (patch) | |
| tree | 9fdee4f56bee252783bc1631ca9028d00e6d0aef /activerecord/test/models/electron.rb | |
| parent | 32b9cefb637741ac7158085790cda56360a229f2 (diff) | |
| download | rails-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/test/models/electron.rb')
0 files changed, 0 insertions, 0 deletions
