search for: foo_proposal_ballots

Displaying 1 result from an estimated 1 matches for "foo_proposal_ballots".

2005 Dec 16
0
relationship help (not a personal problem)
...n that change (class FooProposalBallot). I was thinking something like ... class Foo < ActiveRecord::Base has_many :foo_proposals # Foo can be changed any # of times belongs_to :user # who proposed to create Foo in the first place end class FooProposal < ActiveRecord::Base has_many :foo_proposal_ballots # each user can vote on a proposal once belongs_to :user # who proposed the proposal belongs_to :foo # ^^^ this is where the majority of my confusion sets in # if the proposal is "modify" or "delete", this relationship # is straight-forward; however if the proposal is...