I installed the 1.4 alpha version and started testing recipes to get a better understanding of Hobo.
This many to many recipe was a welcome candidate. In this example (applied to a new Hobo 1.4 alpha app) adding the extend tags to application.dryml causes undefined method `form__for_author' for class `#<Class:0x565eff0>' Adding the extend tags to forms.dryml (bad idea, I know) seems to make it work but rendering the index view of authors causes undefined method `editable_by?' for #<ActiveRecord::Relation:0x562f560> ( http://pastebin.com/ykrQj0sH ) Any idea on why I can't extend tags in application.dryml or on how to avoid that editable_by? error? Could this be related to the 1.4 alpha? Thanks in advance Tom On Friday, July 15, 2011 5:10:21 PM UTC+2, Bob Sleys wrote: > > I'd like to take this one step further but am going to need some expert > help. > > As it stands above when viewing a book there is a New Author link below > the list of authors. However to add an existing author to the book you > need to edit the book. On the flip side while editing to the book you can > only add already existing authors to create a new author you need to either > go back to the book view to create a new author and link them to the book > or go to the authors view and create them and add the book to the author. > > I'd like to either be able to create new authors and add existing authors > to books from either the edit book screen or the show book screen. IE be > able to do both from one screen instead of splitting it up as it is now. > Anyone have any ideas on how to make that happen? > > Bob > -- You received this message because you are subscribed to the Google Groups "Hobo Users" group. To view this discussion on the web visit https://groups.google.com/d/msg/hobousers/-/m680MEPxuUkJ. 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.
