hello... I'm trying to start an auction site and I need some help with the modeling of auctions and bids.

Would it be better to have auctions have many bids and bids belong to auctions, or
Auction has one bid, bid belongs to auction?

Also, how would I call the bid object on the auction to change the :current_price attribute on auction, increment info it up by 1 dollar? Thanks for your help.

You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group.
To unsubscribe from this group and stop receiving emails from it, send an email to rubyonrails-talk+unsubscribe@googlegroups.com.
To post to this group, send email to rubyonrails-talk@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/rubyonrails-talk/d6802541-155f-4a95-8f6a-e6617e65152c%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Search Discussions

Discussion Posts

Follow ups

Related Discussions

Discussion Navigation
viewthread | post
posts ‹ prev | 1 of 10 | next ›
Discussion Overview
grouprubyonrails-talk @
postedNov 16, '14 at 3:14a
activeNov 16, '14 at 8:23p

2 users in discussion

Clay McCullough: 6 posts Colin Law: 4 posts



site design / logo © 2021 Grokbase