Skip to content

Instantly share code, notes, and snippets.

@thejohnnybot
Last active August 29, 2015 14:04
Show Gist options
  • Select an option

  • Save thejohnnybot/ddf14f5acce1f4380f67 to your computer and use it in GitHub Desktop.

Select an option

Save thejohnnybot/ddf14f5acce1f4380f67 to your computer and use it in GitHub Desktop.
[%Thinker.Models.Project{created_at: %Ecto.DateTime{day: 19, hour: 10,
min: 23, month: 10, sec: 54, year: 2004}, id: 1,
issues: {Ecto.Associations.HasMany.Proxy,
#Ecto.Associations.HasMany<[name: :issues,
target: Thinker.Models.Project, associated: Thinker.Models.Issue,
references: :id, foreign_key: :project_id]>}, name: "projects 1"},
%Thinker.Models.Project{created_at: %Ecto.DateTime{day: 19, hour: 10,
min: 23, month: 10, sec: 52, year: 2004}, id: 2,
issues: {Ecto.Associations.HasMany.Proxy,
#Ecto.Associations.HasMany<[name: :issues,
target: Thinker.Models.Project, associated: Thinker.Models.Issue,
references: :id, foreign_key: :project_id]>}, name: "project 2"}]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment