tomPorter wrote:
For example I have a Book model, and the first column defined in the
model book.rb is an isbn. Title is the third field defined, even in
the most recent schema.rb.
BUT when I display the list of books, I see the titles displayed.
This is fine, but I'm not sure how this happened.
I was going to provide a handy link to the documentation, but the line I
was looking for wasn't in it. :)
Read this section: http://cookbook.hobocentral.net/manual/model#name
and then read this line, which I'm in the process of adding to that section:
If you do not provide a name for your model using any of these methods,
Hobo will use the `title` attribute or function instead.
I have book_hints.dryml defined, but I don't think this has anything
in it about field order, etc.
Followup question: How do I replace the default generated card
display with one that contains title and author?
This time I can point you at a tutorial:
http://cookbook.hobocentral.net/tutorials/agility#add-users-to-tasks
That should get you started. It isn't exactly what you wanted, so if
it's not enough help, feel free to keep asking.
Bryan
--
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.