Hi Seth,
Yes, that does work! Wish there were more docs but slowly I'm getting
the hang of things.

- Mike

On Jun 15, 12:32 pm, magicseth <[email protected]> wrote:
> If you haven't played with your controller, the index page for Books
> should have a default @this = Book.all (with pagination).
>
> Therefore, you don't need to specify books in your table-plus tag,
> does this work?
>
> <table-plus fields="this, author"/>
>
> -Seth
>
> On Jun 14, 8:43 am, oldlibmike <[email protected]> wrote:
>
> > I'm experimenting with my first hobo app and am not having any luck
> > with table-plus.
> > I have edge running with Rails 2.3 on OS X.
>
> > I am trying to put a table-plus into the index page for a table that
> > is currently empty.
> > When I try to show the index page I get:
>
> > Showing app/views/books/index.dryml where line #3 raised:
>
> > can't convert String into Integer
> > Extracted source (around line #3):
>
> > 1: <index-page>
> > 2:      <collection: replace>
> > 3:      <table-plus:books fields="this, author">
> > 4:              <empty-message:>No books in database</empty-message:>
> > 5:      </table-plus>
> > 6:      </collection:>
>
> > Am I missing something? I don't know what conversions would be going
> > on for table-plus.
>
> > Thanks,
> >  Mike
--~--~---------~--~----~------------~-------~--~----~
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