-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Hi,
First time user here, long time reader (of Hobix blogs)..
I'm having a custom entry type class called "Quote" where I've (among
others) defined the following "field" (not sure exactly what they're
called in hobix terms?):
_ :quote_note, :req => true, :edit_as => :text, :search
=> :fulltext, :text_processor => true
And in my hobix.out.quick I'm trying to turn that field into html
using entry.quote_note.to_html (since it's usually textile), and the
following exception occur:
/Users/johan/Hobix/lib/hobix/out/quick.rb:124:in `load': Error
`undefined method `to_html' for "\"Google\":http://
google.com":String' in erb /path/to/skels/.... (Hobix::Out::QuickError)
The yaml line looks like this:
quote_note: "Google":http://google.com
I've even tried lots of different approaches; RedCloth.new
(entry.quote_note) directly in the view; an accessor in the Quote
class that converts it to redcloth etc, but I either get the above
error or the text non-textilized..
JS
(despite all this, Hobix is like pure crack, so much fun)
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.4 (Darwin)
iD8DBQFDFwjvK4mRAD1utSoRAkxXAJkBAPrwa2aOci8F+++hzlVdgByVGwCg2TnT
/S8tVJlqE+EfNL42hYtVmMQ=
=rIQG
-----END PGP SIGNATURE-----
_______________________________________________
Hobix-is-the-way mailing list
[email protected]
http://rubyforge.org/mailman/listinfo/hobix-is-the-way