Skip to content

Instantly share code, notes, and snippets.

@rubiety
Created July 23, 2012 17:00
Show Gist options
  • Save rubiety/3164720 to your computer and use it in GitHub Desktop.
Save rubiety/3164720 to your computer and use it in GitHub Desktop.
Chorn
class Project
def penguin
self.class.where(:something => parent_object.something)
end
end
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment