Skip to content

Instantly share code, notes, and snippets.

@felixflores
Last active March 16, 2017 04:09
Show Gist options
  • Save felixflores/f07ec5df258ac89eca99cbe9f11530f5 to your computer and use it in GitHub Desktop.
Save felixflores/f07ec5df258ac89eca99cbe9f11530f5 to your computer and use it in GitHub Desktop.
Sample Data for ActiveRecord Problem
class Student < ActiveRecord::Base
has_many :assignments
end
class Assignment < ActiveRecord::Base
belongs_to :student
end
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment