Skip to content

Instantly share code, notes, and snippets.

@darkofabijan
Forked from miloshadzic/user.rb
Created February 22, 2012 12:17
Show Gist options
  • Save darkofabijan/1884582 to your computer and use it in GitHub Desktop.
Save darkofabijan/1884582 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