Re: [Rails] belongs_to without has_many ?

2018-02-13 Thread Colin Law
On 13 February 2018 at 03:15, Walter Lee Davis wrote: > You can balance belongs_to with has_one or has_many. You have to pick one > of those two options, otherwise it's not appropriate for a belongs_to. > Conceptually yes, but I suspect that if you had A belongs_to B but did

Re: [Rails] belongs_to without has_many ?

2018-02-12 Thread Walter Lee Davis
You can balance belongs_to with has_one or has_many. You have to pick one of those two options, otherwise it's not appropriate for a belongs_to. Walter > On Feb 12, 2018, at 9:33 PM, fugee ohu wrote: > > I'm trying to add a model abstraction in between two existing but the