You probably want another gem: arel. Use that to generate SQL using Ruby. This gem only generates SELECT and WITH (ie CTE) statements/expressions.
da99
March 8, 2014 7:19pm
MIT