Skip to content

Instantly share code, notes, and snippets.

/find.rb Secret

Created October 15, 2016 02:45
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 anonymous/75720649b557d852f966e8d9bfed6e0a to your computer and use it in GitHub Desktop.
Save anonymous/75720649b557d852f966e8d9bfed6e0a to your computer and use it in GitHub Desktop.
employee = Employee.find(1)
customer = Customer.find(1)
TimeEntry.create!(time: 1.2, customer: customer, employee: employee)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment