Re: [Rails] auction site listings table

2019-10-27 Thread Ariel Juodziukynas
Read about the `fields_for` helper on actionview and the `accepts_nested_attributes_for` macro on activerecord to handle nested forms (fields_for to create the form, accepts_nested_attributes_for so activerecord handles the associated objects creation).

Re: [Rails] auction site listings table

2019-10-27 Thread fugee ohu
On Monday, September 16, 2019 at 4:31:29 PM UTC-4, Ariel Juodziukynas wrote: > > Personally, I would do this: > > auctions table > (with the basic shared information of all auctions and an "auction type")) > > properties table > property_name (like network, carrier, publisher, etc) >

Re: [Rails] auction site listings table

2019-10-27 Thread fugee ohu
On Monday, September 16, 2019 at 4:31:29 PM UTC-4, Ariel Juodziukynas wrote: > > Personally, I would do this: > > auctions table > (with the basic shared information of all auctions and an "auction type")) > > properties table > property_name (like network, carrier, publisher, etc) >