Torsten Bühl
Not a member
Torsten Bühl's latest activity
Tuesday, January 18 2011
6299
Possible SQL injection in ActiveRecord limit
was updated
in Ruby on Rails
-
Torsten Bühl commented at 10:10 AMOk I've not checked if the value was escaped, I think the best option would be the conversion to integer. Otherwise it will break some apps.
-
Torsten Bühl commented at 9:05 AMSorry, my conditions_controller.rb looks like (I cannot edit my comment?)
@conditions = @conditions.limit(params[:limit]) if params[:limit]I had to append th...
-
Torsten Bühl commented at 8:58 AMWhat version of Arel are you using? I have the problem with Arel 2.0.7 where the limit parameter is not converted to an integer resulting in the wrong query:
co...
Saturday, February 20 2010
4010
Views not reloaded in development mode (rails-3.0.0.beta, devise-1.1pre2, ham...
was updated
in Ruby on Rails
-
Torsten Bühl commented at 9:12 PMHi all!
I have the same problem, the Github issue was by me ;).
I'm running yesterday's Edge Rails, devise-1.1.pre2 without haml on a windows machine (Ruby 1.9....