Extensions and ajax effects, e.g. search

Is there any way to render Ajax effects (on the user side) with
extensions? For example, with the search extension - how would one
highlight the results, or perhaps re-implement live-preview (or was it
removed because it’s too hard to do?)

I’m trying to port an existing rails app that uses plenty “render
:update do |page|” blocks, on the user (not admin) side.

Mark A. Yoon
Senior Web Applications/Software Engineer, Northwestern Radiology
[email protected]

Here’s a simplified example of updating the page via Ajax:


Building an e-commerce site with Rails?

Meet up at RailsConf:

I originally removed the live-preview because we didn’t need it. The
search behavior was the easiest one to port IIRC, so you could dig up
the old source for that and copy mostly verbatim if you want that
feature back in.


This forum is not affiliated to the Ruby language, Ruby on Rails framework, nor any Ruby applications discussed here.

| Privacy Policy | Terms of Service | Remote Ruby Jobs