Hobo printing out link as html

24 views
Skip to first unread message

Jeremy

unread,
Jul 4, 2011, 5:35:06 PM7/4/11
to Hobo Users
So I installed hobo 1.3.0.RC and was following along with the example
in the hobo manual beta6 from here:
https://barquin.lighthouseapp.com/projects/63775-rapid-rails-3-with-hobo/overview
and I'm following along pretty well. I get to Chapter 3 Tutorial 7
Model Relationships I guess step 12 (figure 79) where it should print
off the related country. Problem is in my environment it just prints
off the html of the link (<a class="country-link" href="/countries/1-
american"><span class="view country-name ">American</span></a>)

Does anyone know what could be causing this?

Bryan Larsen

unread,
Jul 4, 2011, 9:26:30 PM7/4/11
to hobo...@googlegroups.com
That's a recently fixed bug. You can use the github version of Hobo
if you need it fixed immediately.

In your Gemfile, change

gem "hobo", ">= 1.3.0.RC"

to

gem "hobo", :git => "git://github.com/tablatom/hobo.git", :branch => "rails3"

and then type "bundle update hobo".

Bryan

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

Jeremy

unread,
Jul 4, 2011, 10:40:40 PM7/4/11
to Hobo Users
That did the trick. Thanks Bryan

On Jul 4, 8:26 pm, Bryan Larsen <br...@larsen.st> wrote:
> That's a recently fixed bug.   You can use the github version of Hobo
> if you need it fixed immediately.
>
> In your Gemfile, change
>
> gem "hobo", ">= 1.3.0.RC"
>
> to
>
> gem "hobo", :git => "git://github.com/tablatom/hobo.git", :branch => "rails3"
>
> and then type "bundle update hobo".
>
> Bryan
>
>
>
>
>
>
>
> On Mon, Jul 4, 2011 at 5:35 PM, Jeremy <jwel...@gmail.com> wrote:
> > So I installed hobo 1.3.0.RC and was following along with the example
> > in the hobo manual beta6 from here:
> >https://barquin.lighthouseapp.com/projects/63775-rapid-rails-3-with-h...

kevinpfromnm

unread,
Aug 10, 2011, 3:59:36 PM8/10/11
to hobo...@googlegroups.com
I'm running into this but when I use hobo 1.3.0.pre31 (which is what setting to use RC1 got me) I get when trying to launch a server:

Exiting
/usr/lib/ruby/gems/1.8/gems/hobo-1.3.0.pre31/lib/hobo/model.rb:61:in `patch_will_paginate': uninitialized constant WillPaginate::Finders (NameError)
    from /usr/lib/ruby/gems/1.8/gems/hobo-1.3.0.pre31/lib/hobo/model.rb:17:in `included'
    from /usr/lib/ruby/gems/1.8/gems/hobo-1.3.0.pre31/lib/hobo/extensions/active_record/hobo_methods.rb:7:in `include'
    from /usr/lib/ruby/gems/1.8/gems/hobo-1.3.0.pre31/lib/hobo/extensions/active_record/hobo_methods.rb:7:in `hobo_user_model'

Figure you added a patch to fix the bad will_paginate version but seems to break with will_paginate 3.0.pre2

CharlieMagee

unread,
Aug 24, 2011, 12:40:58 AM8/24/11
to Hobo Users
Exiting and restarting the rails server made it work.

thanks

Charlie

On Jul 4, 6:26 pm, Bryan Larsen <br...@larsen.st> wrote:
> That's a recently fixed bug.   You can use the github version of Hobo
> if you need it fixed immediately.
>
> In your Gemfile, change
>
> gem "hobo", ">= 1.3.0.RC"
>
> to
>
> gem "hobo", :git => "git://github.com/tablatom/hobo.git", :branch => "rails3"
>
> and then type "bundle update hobo".
>
> Bryan
>
>
>
>
>
>
>
> On Mon, Jul 4, 2011 at 5:35 PM, Jeremy <jwel...@gmail.com> wrote:
> > So I installed hobo 1.3.0.RC and was following along with the example
> > in the hobo manual beta6 from here:
> >https://barquin.lighthouseapp.com/projects/63775-rapid-rails-3-with-h...

CharlieMagee

unread,
Aug 24, 2011, 12:34:21 AM8/24/11
to Hobo Users
I'm in hobo 1.3.0.RC2 and this fix didn't work for me.

Charlie

On Jul 4, 6:26 pm, Bryan Larsen <br...@larsen.st> wrote:
> That's a recently fixed bug.   You can use the github version of Hobo
> if you need it fixed immediately.
>
> In your Gemfile, change
>
> gem "hobo", ">= 1.3.0.RC"
>
> to
>
> gem "hobo", :git => "git://github.com/tablatom/hobo.git", :branch => "rails3"
>
> and then type "bundle update hobo".
>
> Bryan
>
>
>
>
>
>
>
> On Mon, Jul 4, 2011 at 5:35 PM, Jeremy <jwel...@gmail.com> wrote:
> > So I installed hobo 1.3.0.RC and was following along with the example
> > in the hobo manual beta6 from here:
> >https://barquin.lighthouseapp.com/projects/63775-rapid-rails-3-with-h...
Reply all
Reply to author
Forward
0 new messages