Hobo 2.0.0 <sortable-collection> Not working on admin subsite controllers

34 views
Skip to first unread message

Paul

unread,
Mar 20, 2013, 4:11:09 PM3/20/13
to hobo...@googlegroups.com
Hi,

I am not able to get <sortable-collection > with acts_as_list to work with controllers that are in the admin subsite. It works great in the primary (non-subsite) controllers.

I get the error: 
undefined method `admin_reorder_protocol_frequencies_url' for #<#<Class:0x007fa017791c10>:0x007fa017796b70>

ProtocolFrequency is my model. I also have a few other models that behave the same. Although, All of the model controllers that belong to the primary application controller level work perfectly.

Any ideas?

Thank you,
 Paul

Bryan Larsen

unread,
Mar 20, 2013, 4:14:57 PM3/20/13
to hobo...@googlegroups.com
That's not being tested in our integration tests, so it's not
surprising that it's broken. Please open an issue on github.
Although probably not necessary since it should be fairly easy to do
myself, it would also be helpful to send me a sample app that exhibits
the problem.

Bryan
> --
> You received this message because you are subscribed to the Google Groups
> "Hobo Users" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to hobousers+...@googlegroups.com.
> To post to this group, send email to hobo...@googlegroups.com.
> Visit this group at http://groups.google.com/group/hobousers?hl=en.
> For more options, visit https://groups.google.com/groups/opt_out.
>
>

Paul

unread,
Mar 20, 2013, 5:40:23 PM3/20/13
to hobo...@googlegroups.com
Bryan,

Thank you! I've created a sample app that exhibits the problem.

In this sample Hobo 2.0 app, posted at https://github.com/PHanson-Neurotopia/Hobo20-Sortable.git
I get the following error on the admin/other_contacts page: 
undefined method `admin_reorder_other_contacts_url' for #<#<Class:0x007f813b243ad8>:0x007f813b3ef698>

OtherContact is the model that exhibits the problem. 
Notice that the Contact model is also using acts_as_list and sortable-collection and works just fine at /contacts index page.

Thanks again,
 Paul

Paul Hanson

unread,
Mar 25, 2013, 10:59:12 AM3/25/13
to hobo...@googlegroups.com
Dear Bryan,

I'm sure you're quite busy and I remain in awe at how you guys maintain such great tools as Hobo. Do you have an idea of how I might proceed or when you might be able to take a look at why acts_as_list is not working in the admin subsite?

If there is anything more I can do to help, please let me know. In my previous post I included the details of where I've posted on Github the sample Hobo app that demonstrates the error I'm getting.

Thank you,
 Paul
--
Paul Hanson
PaulRHa...@gmail.com

Bryan Larsen

unread,
Mar 26, 2013, 2:49:16 PM3/26/13
to hobo...@googlegroups.com
Yes, I was hoping to get to it this weekend. Obviously this didn't
happen. :( Given that next weekend is a long one, I should have a
chance to get to it then. Sorry it's taking so long.

Bryan

Paul Hanson

unread,
Mar 26, 2013, 3:03:10 PM3/26/13
to hobo...@googlegroups.com
Thank you Bryan. No need to apologize  You guys are amazing the way you not only maintain, but that you continue to press ahead. Hobo is an awesome tool. Thank you!

Next weekend will be great. I'll just be planning accordingly while remaining flexible.

Best,
 Paul

Bryan Larsen

unread,
Apr 1, 2013, 8:24:29 AM4/1/13
to hobo...@googlegroups.com
I've pushed a fix to github. Thanks for the nice demonstration app.

Owen Dall

unread,
Apr 8, 2013, 1:03:05 PM4/8/13
to hobo...@googlegroups.com
Thanks much, Bryan. As you know, the rest of the Barquin team isl "heads down" getting ready for the May 6 production release of a very large Hobo application:  NIFA REEport (Project Lifecycle Reporting.  

It will be the central mechanism for initiating and approving projects,  as well as reporting annual progress for all NIFA grants. Stay tuned.  

You will see announcements about this at: http://portal.nifa.usda.gov.     This portal is also a Hobo application.

 At some point we hope to have the cycles to evaluate what might be useful to integrate with the next version of Hobo...

-Owen

-Owen
 

Owen Dall

Vice President | Chief Technology Officer

Barquin International 

www.barquin.com

Office: 202.296.7147 | Mobile: tel:410.991.0811

Fax: 202.296.8903 | email: od...@barquin.com

Paul Hanson

unread,
Apr 9, 2013, 11:04:33 AM4/9/13
to hobo...@googlegroups.com
Thank you Bryan! Very much appreciated.

Best,
 Paul

Paul Hanson

unread,
Apr 13, 2013, 2:05:47 PM4/13/13
to hobo...@googlegroups.com
Bryan,

I'm not finding the fix you posted. Where exactly do I go to get it?

Thanks,
 Paul
--
Paul Hanson
PaulRHa...@gmail.com

Paul

unread,
Apr 15, 2013, 7:20:07 PM4/15/13
to hobo...@googlegroups.com
I found the fix. I was looking at the old git repo. All working well. Thank you! -Paul
Reply all
Reply to author
Forward
0 new messages