Owen,

what you quoted below is nothing I had a problem with,
actually.  Unfortunately, I thank I was rambling.

Your comment relates to:

   >>One last word on: p. 166, Tutorial 17 "Agility"


On Jan 10, 7:10 am, Owen Dall <[email protected]> wrote:
> Jet,
>
> These are user-provided index names to override the defaults.  I tested the
           ...(deleted)
>
> >   belongs_to :user, :index => 'assignment_user_join_index'


The issue I was concerned about was the clarity in the following,
which you did not comment on (unless I missed it?):
    (please excuse long quote from previous email)

p. 166, Tutorial 17 "Agility"

In the following I had some problem with the context,
and that being said I like the naming of:

   task_assignment.

What I had trouble with is the explanation that goes along
with it:

"Note that we are using the convention of naming an association table
with the
combination of model names separated by an underscore:

task + assignment becomes: task_assignment"

I reread the surrounding context a number of times.  To me the
statement:

    "naming an association table with the combination of model names
separated by an underscore:"

implies that both 'task' and 'assignment' are models.
I would think, in this particular instance:

"naming an association table with the combination of a model name
with a descriptive   intermediate name separated by an underscore:"

...is possibly a better description.

In this  example if it was actually a combination of the 2 models,
it would be:

    task_user

This is because there is no:

   assignment model

so:

   task + assignment becomes: task_assignment

is not true, in regard to it being a combination of model names
separated by an underscore.

It is:

   task + user becomes: task_user

...which is "aaargh!"

I think

     task_assignment

is much better, but perhaps the accompanying text should be changed?



   Jet


-- 
You received this message because you are subscribed to the Google Groups "Hobo 
Users" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/hobousers?hl=en.


Reply via email to