Skip to content

Instantly share code, notes, and snippets.

@markoa
Forked from darkofabijan/user.rb
Created February 22, 2012 12:19
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 markoa/1884595 to your computer and use it in GitHub Desktop.
Save markoa/1884595 to your computer and use it in GitHub Desktop.
class User < ActiveRecord::Base
def find_form(id)
company.forms.find(id)
end
end
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment