cool, that should make it much easier to track down.   It might be
early next week before I get to it, is that OK?

Bryan

On Thu, Dec 13, 2012 at 2:45 PM, Ryan <[email protected]> wrote:
> Try http://github.com/rgrice/sortable_problem.git
>
> Uncommenting the bottom of routes.db makes it work
>
> Thanks
> Ryan
>
>
> On Thursday, December 13, 2012 12:27:36 PM UTC-6, Bryan Larsen wrote:
>>
>> There's obviously something that's different in your application than
>> the test case that I'm using.   Would it be possible for you to create
>> a small demo application that exhibits the problem that I can play
>> with?
>>
>> thanks,
>> Bryan
>>
>>
>> On Thu, Dec 13, 2012 at 1:20 PM, Ryan <[email protected]> wrote:
>> > I changed my Gemfile to use:
>> >
>> > gem 'hobo', :git => 'git://github.com/Hobo/hobo.git'
>> > gem "will_paginate", :git => "git://github.com/Hobo/will_paginate.git"
>> > gem "hobo_jquery_ui"
>> > gem "hobo_bootstrap", :git => "git://github.com/Hobo/hobo_bootstrap.git"
>> >
>> > I didn't see a git repository for hobo_jquery_ui so I took out the
>> > version
>> > assuming it would use the latest.
>> >
>> > Then did a bundle install, and it pulled hobo from git.  But I was still
>> > getting the same undefined method `reorder_alteration_assignments_url`
>> > error.
>> >
>> > In hobo_routes.rb I found:
>> >   # Resource routes for controller alteration_assignment
>> >   resources :alteration_assignment do
>> >     collection do
>> >       post 'reorder'
>> >     end
>> >   end
>> >
>> > I copied and pasted that route into routes.rb and changed it to the
>> > plural
>> > :alteration_assignments, the correct route appeared in rake routes, and
>> > the
>> > sortable-collection started working.
>> >
>> >      reorder_alteration_assignments POST
>> > /alteration_assignments/reorder(.:format)
>> > alteration_assignments#reorder
>> > reorder_alteration_assignment_index POST
>> > /alteration_assignment/reorder(.:format)
>> > alteration_assignment#reorder
>> >
>> >
>> > Anything else I should check?  It seems like there is still a bug, tho
>> > specifying the route fixed it for me.
>> >
>> > Thanks
>> > Ryan
>> >
>> > On Thursday, December 13, 2012 10:21:57 AM UTC-6, Bryan Larsen wrote:
>> >>
>> >> I did have a sortable-collection test in the integration tests, but
>> >> when there was a problem that it didn't catch.  So please try the
>> >> version of hobo from github.
>> >>
>> >> IOW, use
>> >>
>> >> gem 'hobo', :git => 'git://github.com/Hobo/hobo.git'
>> >>
>> >> in your Gemfile.   (other hobo gems will probably need the same
>> >> treatment).
>> >>
>> >> Bryan
>> >>
>> >>
>> >> On Wed, Dec 12, 2012 at 5:42 PM, Bryan Larsen <[email protected]> wrote:
>> >> > OK, looks like a bug in the new routing code.   I thought I had a
>> >> > sortable-collection in the integration tests that should have caught
>> >> > that.
>> >> >
>> >> > hobo's asking for reorder_alteration_assignments_url, but you have
>> >> > reorder_alteration_assignment_index_url
>> >> >
>> >> > I'll take a look tomorrow.
>> >> >
>> >> > Bryan
>> >> >
>> >> >
>> >> > On Wed, Dec 12, 2012 at 5:36 PM, Ryan <[email protected]> wrote:
>> >> >> There is:
>> >> >>
>> >> >> reorder_alteration_assignment_index POST
>> >> >> /alteration_assignment/reorder(.:format)
>> >> >> alteration_assignment#reorder
>> >> >>
>> >> >>
>> >> >> On Wednesday, December 12, 2012 4:33:54 PM UTC-6, Bryan Larsen
>> >> >> wrote:
>> >> >>>
>> >> >>> what does `rake routes` tell you: are there any reorder actions in
>> >> >>> there?
>> >> >>>
>> >> >>> Bryan
>> >> >>
>> >> >> --
>> >> >> 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/-/0e_pWPmxXZIJ.
>> >> >>
>> >> >> 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.
>> >
>> > --
>> > 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/-/G7RwKioVfuUJ.
>> >
>> > 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.
>
> --
> 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/-/pOHePt0C3DwJ.
>
> 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.

-- 
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