Marnen Laibow-Koser wrote: > Ichiro Saga wrote: >> Hi, there. >> I was wondering if it's possible to have one controller and view that >> has multiple tables. Let say there are 10 schools. Each school has a >> table to stores students' info. So one Student controller with 10 >> tables. Is it possible or any workaround? > > That's a terrible setup. You should never have multiple identical > tables -- instead, all you need is one table for all students. > >> Thanks in advances. > > Best, > -- > Marnen Laibow-Koser > http://www.marnen.org > mar...@marnen.org
Thanks Maren. When there are 30+ schools and each has 100k+ students, it'll be a very large table. That's why I was thinking about breaking it into some smaller tables. -- Posted via http://www.ruby-forum.com/. -- You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send email to rubyonrails-t...@googlegroups.com. To unsubscribe from this group, send email to rubyonrails-talk+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en.