Yeah, hobo it's usually ridiculously easy to get in place editing working by replacing the <view /> tag with an <editor /> tag.
On Feb 28, 12:58 pm, Bob <[email protected]> wrote: > Never mind - I got it working. I was confused as to what it was > supposed to do. > On Feb 26, 5:40 pm, Bob <[email protected]> wrote: > > > I am following through the hobo agility tutorial and am having trouble > > with in place editing. I thought this just worked - it seems like I > > got it to work on a PC, but I do not have access to that env any more > > to verify this. I would like an in place editor to show up on the > > Story edit page - I changed the model like so and ran the hobo > > migration. The fields show up, but as normal looking text fields. > > > class Story < ActiveRecord::Base > > > hobo_model # Don't put anything above this > > > fields do > > title :string > > body :markdown # or :textile > > b1 :text > > b2 :markdown > > b3 :textile > > b4 :maruku > > > timestamps > > end > > > The HTML looks like this, so I am not sure what is happening, > > > <textarea class="body-tag markdown story-body" id="story_body" > > name="story[body]">dkjsdkjsakdjsakdjaskdsjasklj</textarea> > > > I am running ruby 1.9.1 on a Linux 8.04 box. My gem list looks like > > this. > > > *** LOCAL GEMS *** > > > actionmailer (2.3.5) > > actionpack (2.3.5) > > activerecord (2.3.5) > > activeresource (2.3.5) > > activesupport (2.3.5) > > bluecloth (2.0.7) > > hobo (1.0.0) > > hobofields (1.0.0) > > hobosupport (1.0.0) > > maruku (0.6.0) > > rack (1.1.0, 1.0.1) > > rails (2.3.5) > > rake (0.8.7) > > RedCloth (4.2.2) > > rmagick (2.12.2) > > rubygems-update (1.3.6) > > sqlite3-ruby (1.2.5) > > syntax (1.0.0) > > will_paginate (2.3.12) > > > - any advice is appreciated. > > > Thanks > > --Bob > > -- 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.
