rubyonrailsin

A Ruby and Rails talk

Monday, March 15, 2010


[Rails] Re: Re: more than one table per model

by rubyonrailsin 0 comments

Tag


Share this post:
Design Float
StumbleUpon
Reddit

Frank Kim wrote:
> Okay here's why I want to do it.
> The first table contains just data.
> The second table will be a view whose data can change depending on
> other external factors. It could change daily.
> Yes this second table could be an association but I would have
> preferred it not to be.

Well, then it really is two separate things, and it should be two
separate things. You are right. Update the second table every so often
with a scheduled task.
--
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-talk@googlegroups.com.
To unsubscribe from this group, send email to rubyonrails-talk+unsubscribe@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en.

No comments:

Post a Comment

Subscribe feeds via e-mail

Blog Archive