On Oct 15, 2014, at 8:44 AM, Yongbiao Long <longyongb...@gmail.com> wrote:

> How to deal with the daily created tables in rails?

Don't do that. It's an unnormalized, broken, bordering-on-insane design. The 
date is an attribute of some entity that belongs in its own table, to which 
your other data is related. Figure out that entity, design it, set up the 
relationship appropriately between the two.

-- 
Scott Ribe
scott_r...@elevated-dev.com
http://www.elevated-dev.com/
(303) 722-0567 voice




-- 
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/97FDAFF1-402E-4AE6-BED3-AC1F480E5699%40elevated-dev.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to