Every part of a string has to be marked as html_safe, if there's just
one part that isn't, you get the behavior you've noticed.
<a><%= "John Smith".html_safe %></a>
I assume you're using Hobo 1.3 with Rails 3.
If you're using Hobo 1.0 with Rails 2.3, turn off XSS protection,
because Hobo 1.0 doesn't support it.
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.
>
>
Bryan
gem "hobo", :git => "git://github.com/tablatom/hobo.git", :branch => "rails3"
into your Gemfile and
bundle update hobo
Bryan
On Wed, Jun 29, 2011 at 4:12 PM, André Fischer <amfi...@gmail.com> wrote:
> I have exactly the same problem, and tried to update Hobo by adding
> the line mentioned in this thread to the gemfile.
>
> I am using Rails 3.0.9 together with ruby 1.9.2p180 (2011-02-18
> revision 30909) [x86_64-darwin10.7.4]
>
> I am trying to go through the tutorial at http://cookbook-staging.hobocentral.net/tutorials/agility,
> so the app is about as simple as can get, yet all links show up as
> their html source in the browser...
>
> What should I do, short of completely deleting Rails and Hobo from my
> system and starting over?
>
> André
/home/blarsen/.rvm/gems/ruby-1.9.2-p180/bundler/gems/hobo-cf8150539533/hobo
where cf8150539533 is the latest commit here:
https://github.com/tablatom/hobo/commits/rails3/
There is an issue with running the correct version of Hobo from the
command line (type `bundle exec hobo` to get around that), but bundler
should always run the correct version when you run "rails server".
It sounds like your app is pretty simple at this point. You're
welcome to send it to me if you still are having troubles.
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/-/Iftu33kWtAUJ.
Yes, it could have. But I'm fairly sure that nothing substantial
changed in that area since rc1.
Bryan
--
You received this message because you are subscribed to the Google Groups "Hobo Users" group.
First list out your gems and see which version of Hobo you have installed. With the >= bundler likes to install the pre versions over the RC version. If you want to be safe just remove all versions of hobo, hobo_support, hobo_fields and dryml and then do a bundle install in your app root dir after you've made the above change of course.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/-/MYvPgAzGThcJ.
*** LOCAL GEMS ***hobo (1.3.0.RC)Author: Tom LockeRubyforge: http://rubyforge.org/projects/hoboHomepage: http://hobocentral.netInstalled at: /Users/andre/.rvm/gems/ruby-1.9.2-p180The web app builder for Railshobo_fields (1.3.0.RC)Author: Tom LockeRubyforge: http://rubyforge.org/projects/hoboHomepage: http://hobocentral.netInstalled at: /Users/andre/.rvm/gems/ruby-1.9.2-p180Rich field types and migration generator for Railshobo_support (1.3.0.RC)Author: Tom LockeRubyforge: http://rubyforge.org/projects/hoboHomepage: http://hobocentral.netInstalled at: /Users/andre/.rvm/gems/ruby-1.9.2-p180Core Ruby extensions from the Hobo project
gem "hobo", ">= 1.3.0.RC"
in your Gemfile
You need
gem "hobo", :git => "git://github.com/tablatom/hobo.git", :branch => "ralis3"
instead. After you've changed that, type `bundle install hobo`.
Bryan
On Thu, Jun 30, 2011 at 2:39 AM, André Fischer <amfi...@gmail.com> wrote: