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:"
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?
Cheers,
Jet
On Jan 9, 10:53 pm, blueHandTalking <[email protected]> wrote:
> p. 166 (Agility --Tutorial 17)
>
> In the pdf it looks like
>
> (a)
> Now we need to create the models outlined above using the Hobo
> generator:
>
> > ruby script/generate hobo model resource project name:string
>
> ...instead of
>
> (b)
> Now we need to create the models outlined above using the Hobo
> generator:
>
> > ruby script/generate hobo_model_resource project name:string
>
> ( missing '_' in (a) )
>
> (Please note: I did a cut and paste with (b), so the actual text in
> the
> book is correct, but for some reason is not
> displaying properly.
>
> Jet
>
> On Jan 9, 3:59 pm, blueHandTalking <[email protected]> wrote:
>
> > p. 115
>
> > The following text:
>
> > Figure 89: Adding the custom <more-messages> tag
>
> > overlaps the graphic above it.
>
> > Jet
>
> > On Jan 9, 3:49 pm, blueHandTalking <[email protected]> wrote:
>
> > > p. 110
>
> > > 7. Create an html-like tag
> > > ...
> > > ...
> > > Vocabulary note: We have referred to an attribute above rather than
> > > a parameter because a change will be made by setting param to a value
> > > rather than by using a paramet er tag.
>
> > > ...should be:
>
> > > Vocabulary note: We have referred to an attribute above rather than
> > > a parameter because a change will be made by setting param to a value
> > > rather than by using a parameter tag.
>
> > > delete ' ' (space) in parameter.
>
> > > Jet
>
> > > On Jan 9, 3:46 pm, blueHandTalking <[email protected]> wrote:
>
> > > > Owen,
>
> > > > Not sure about this one, but just in case....
>
> > > > p. 108
>
> > > > 3. Parameterize the tag
> > > > ...
> > > > ...
> > > > Syntax Note. The colon (:) suffix indicates that the tag is a
> > > > defined parameter tag. Later you will learn that some parameter tags
> > > > [are defined for you in the Rapid library].
>
> > > > I believe this should be:
>
> > > > Syntax Note. The colon (:) suffix indicates that the tag is a defined
> > > > parameter tag. Later you will learn that some parameter tags are
> > > > defined for you in the Rapid library.
>
> > > > ...delete "[" and "]"
>
> > > > Jet
>
> > > > On Jan 9, 2:16 pm, Barquin <[email protected]> wrote:
>
> > > > > Thanks, will take a look....
>
> > > > > Sent from my iPhone
>
> > > > > On Jan 9, 2010, at 4:07 PM, blueHandTalking <[email protected]> wrote:
>
> > > > > > Another of these under Tutorial 8, p. 78
>
> > > > > > 1. Create the models
> > > > > > ...
> > > > > > CategoryAssignment will have the two fields, category_id and
> > > > > > recipe_id that
> > > > > > correspond to keys of the same name in the Category and Recipe
> > > > > > models.
>
> > > > > > Above is displayed in pdf file as follows:
>
> > > > > > CategoryAssignment will have the two fields, category id and recipe
> > > > > > id that
> > > > > > correspond to keys of the same name in the Category and Recipe
> > > > > > models.
>
> > > > > > Jet
>
> > > > > > On Jan 9, 12:34 pm, blueHandTalking <[email protected]> wrote:
> > > > > >> Text on this page follows:
>
> > > > > >> two_table> ruby script/generate hobo_model_resource country
> > > > > >> name:string
>
> > > > > >> The above is correct, and I copied and pasted it directly from the
> > > > > >>
> > > > > >> pdf
> > > > > >> file.
>
> > > > > >> However, in the pdf file this is the display:
>
> > > > > >> two_table> ruby script/generate hobo model resource country
> > > > > >> name:string
>
> > > > > >> How come?
>
> > > > > >> 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
> > > > > > athttp://groups.google.com/group/hobousers?hl=en
> > > > > > .
--
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.