module Arel
  module SqlCompiler
    class MySQLCompiler < GenericCompiler
      def limited_update_conditions(conditions)
        conditions
      end
    end
  end
end


module Arel
  module SqlCompiler
    class MySQLCompiler < GenericCompiler
      def limited_update_conditions(conditions, taken)
        conditions << " LIMIT #{taken}"
        conditions
      end
    end
  end
end


Fix limited_update_conditions on MySQLCompiler to receive and build limit.
Fix limited_update_conditions on MySQLCompiler to receive and build
limit.
