add msyql2 Arel support

This commit is contained in:
Brian Lopez 2010-04-15 12:23:24 -07:00
parent 737edcfe67
commit 4866ae0aa3

View File

@ -0,0 +1,11 @@
module Arel
module SqlCompiler
class Mysql2Compiler < GenericCompiler
def limited_update_conditions(conditions, taken)
conditions << " LIMIT #{taken}"
conditions
end
end
end
end