Fix buggy associations

This commit is contained in:
Alberto Miedes Garcés
2017-01-27 14:27:28 +01:00
parent cb06075c68
commit 6b47ce065f
4 changed files with 3 additions and 7 deletions

View File

@@ -22,7 +22,7 @@ Debate:
geozone: Geozone
comments: [Comment]
public_author: User
votes: [Vote]
votes_for: [Vote]
tags: ["ActsAsTaggableOn::Tag"]
Proposal:
fields:
@@ -45,7 +45,7 @@ Proposal:
comments: [Comment]
proposal_notifications: [ProposalNotification]
public_author: User
votes: [Vote]
votes_for: [Vote]
tags: ["ActsAsTaggableOn::Tag"]
Comment:
fields:
@@ -60,7 +60,7 @@ Comment:
ancestry: string
confidence_score: integer
public_author: User
votes: [Vote]
votes_for: [Vote]
Geozone:
fields:
id: integer