Skip to content

Instantly share code, notes, and snippets.

@stuartchaney
Created April 9, 2011 16:39
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save stuartchaney/911538 to your computer and use it in GitHub Desktop.
Save stuartchaney/911538 to your computer and use it in GitHub Desktop.
Post.category_type like(“fun”)
Post Load (0.4ms) SELECT "posts".* FROM "posts" INNER JOIN "categories" ON "categories".id = "posts".category_id WHERE (categories.type LIKE '%fun%')
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment