rubyonrailsin

A Ruby and Rails talk

Monday, March 15, 2010


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

by rubyonrailsin 0 comments

Tag


Share this post:
Design Float
StumbleUpon
Reddit

On 15 March 2010 18:14, Greg Donald <gdonald@gmail.com> wrote:
> On Mon, Mar 15, 2010 at 12:18 PM, Aldric Giacomoni <lists@ruby-forum.com> wrote:
>> What possible benefit could you derive from this
>
> A second table is required when you have constraints that you don't
> want interfering with your ability to save data to the first table.
> has_one is very useful for this scenario.

I can't tell what your angle is from this post - are you disagreeing
with Aldric, or the OP?

A has_one is the association the OP said he didn't want; and the idea
of a second table with no association is what Aldric seems to be
querying.

--
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