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 22, 2014 6:29pm
MIT