On 16 November 2014 15:48, Clay McCullough wrote:
Well the auction object needs to be the auction itself, where users join and bid... If my reasoning is flawed I would love some ideas.

As for the bidding, I was thinking that instead of there being a highest bidder, I would simply have a button that the users could click that would increase the price by one dollar every time. Is there a way I could do this?
Are you just thinking of keeping track of the current price and which
user it is then? I think there may be a problem with that, I think
you will need to track the history of all bids in case there is a
dispute from a user. Without the full history you would not be able
to demonstrate the sequence of +1s

Also what would happen if 500 users all clicked the +$1 within a
second of each other? The last one could end up having made a bid
$499 more than he anticipated.


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/CAL%3D0gLu8%2BTfd4Np7XmZfRrz_3aNDUofmREEU1O2uuefT%3DWzOjg%40mail.gmail.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 | 4 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 © 2022 Grokbase