RubyFlow The Ruby and Rails community linklog

SQL Literals in Squeel (or, Overriding Backticks in Ruby)

I just posted details about how Squeel overrides the behavior of backticks in its DSL blocks, along with some of the criteria I used when determining whether or not backticks were a good candidate for the behavior. I hope they’ll be useful as a starting point for thinking about overriding just about any default Ruby behavior in your code, especially backticks.

Post a comment

You can use basic HTML markup (e.g. <a>) or Markdown.

As you are not logged in, you will be
directed via GitHub to signup or sign in