Fix for Debian Ruby 1.9 (PR #821)

I know Discourse requires Ruby 1.9.3 but I tried running Discourse with the Debian Squeeze ruby1.9 package which is 1.9.2. It works fine so far except when you use __method__ in lib/discourse_redis.rb.

I can’t find why you wouldn’t use the variable m here instead of __method__, even on Ruby 1.9.3, so I suggest this change.

GitHub

Thanks for contributing this pull request! Could you please sign our CLA so we can review it? http://www.discourse.org/cla

I can’t say we support 1.9.2 but the fix seems fine, to make this worthwhile might as well turn that string array into a symbol array its more correct and probably a touch faster

thanks :+1: