John Bachir
John Bachir
Alright folks, I've put together a solution for reporting offending files. Tell me what you think: https://github.com/protocool/AckMate/wiki/Unicode-UTF-8-error-message
I'm having the same problem. None of the proposed solutions work for me.
looks good! feel free to squish with my commit. (i'd probably do it in 2 or 3 individual commits, separating the new functionality from the upgrade stuff).
n.b. i didn't have ruby 2.0.0 available on my machine so i did dev in 2.3.1. Also, for some reason json wasn't building on my machine with the Gemfile.lock as...
Yep, experimented with that a bit, slashes are always much much more precise, and make for a nice mental map to get to the file. True, making the spaces act...
(it could be an option in preferences...)
Gotcha — but where/how in the model does it access those vars? Is that a normal thing that an AR object can do when it's instantiated in a controller action?
Ahhh. So I suppose that means rakismet isn't thread-safe?
Instead of explicitly supporting it with thread-local variables, what do you think of these ideas… 1. pass the `request` object into `spam?` and friends, which will then invoke `.user_ip` etc...
I wonder if there's any reason to not put `:environment_variable=:environment` on the other side of the flock invocation