Hello, Spot on. Thanks for the 'rapid' response (like you haven't heard that one before). The Hobo syntax takes a bit of getting used to. I may as well ask another question. I am trying to create a form inside the 'front' page that has a text input and a date picker However when using <input for='date'> I get a 'undefined method `editable_by?' for nil:NilClass'. I assume this is because there is no context for the front page so it doesn't know what the date picker is for? So, can you use these custom inputs as plain arbitrary inputs in a form? Also, can you put rails style routes like 'search_courses_url' inside a <form> instead of something like '<form action="/courses/search">'.
I'm really enjoying Hobo and how fast you can get going but just struggling a bit with the syntax. Thanks in advance. Cheers, Ian On Apr 22, 2:30 pm, Matt Jones <[email protected]> wrote: > On Apr 22, 2010, at 8:14 AM, Ian wrote: > > > Hello, > > > Just started playing around with Hobo so I guess this is probably > > going to be user error but I keep getting this NoMethodError in > > Courses#index when trying to use <table-plus> > > > undefined method `editable_by?' for #<WillPaginate::Collection: > > 0x1065e0d60> > > > I created a new index.dryml page for my model with the following code > > inside > > > <show-page> > > You most likely want <index-page> here, as show-page is for displaying > an individual record (the "Edit" link on that page is causing this > error). > > --Matt Jones > > -- > 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.
