On Sun, Oct 12, 2014 at 7:28 PM, Yongbiao Long <longyongb...@gmail.com> wrote:
> I do it in this way because I have
> another table representing the number of left seats, and I think it's
> easier to update this table in my way(in this case, the number of leaf
> seats from 1->3, 1->2, 2->3.... decreases by one).

This computation process seems the same for both our table designs...
I'll use your approach, having a bookings table, specifying the
journey, the stations, and the seat (or seats).

-- 
Best Regards

-- 
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+unsubscr...@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/CALDAArpMqkWBHpJ7AmXoy34C13Uqc25g8aq_FzDaq%3DBPRerUJA%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to