On 15 October 2014 15:44, Yongbiao Long <[email protected]> wrote: > I feel sorry to bother you all again here, but I still have a problem: > How to deal with the daily created tables in rails? I googled around > and found nothing. > > The daily created tables are named on the dates, their names are all > different. I know how to create tables in a periodically executed rake > task. However, I surely cannot define that many(infinite) model > classes to manipulate these tables. This question might seem too naive > for you, as I asked it in previous posts but got no answers. Hope > somebody could give some hints. Thanks again!
I thought you decided you were not going to have those tables, that you would have a bookings table where each row corresponded to a booking and recorded the journey, start and finish station and seat information. Colin -- 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 [email protected]. To post to this group, send email to [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/rubyonrails-talk/CAL%3D0gLsd_QC9Ts%3DM-%3D3bwXEP28t3%3D-n85JNbdqxkJyNnTjEUSQ%40mail.gmail.com. For more options, visit https://groups.google.com/d/optout.

