I was wondering if anyone knew how to do the rails equivalent of render :update do |page| It looked like maybe render_inline would do. If that''s it - does anyone have an example? Has anyone ported the scriptaculous helpers to a merb plugin yet? Also - is there anyway to search the mailing list archives? Sorry for the newb questions. Looks like a great framework though! -ben -------------- next part -------------- An HTML attachment was scrubbed... URL: http://rubyforge.org/pipermail/merb-devel/attachments/20080102/577a7c93/attachment.html
On Jan 2, 2008, at 6:48 PM, ben wiseley wrote:> I was wondering if anyone knew how to do the rails equivalent of > > render :update do |page|Merb doesn''t have a built-in RJS mechanism like Rails does. There''s not currently a way to execute JS like that. I wouldn''t be surprised to eventually see a plugin for Rails-style RJS, but I would be highly surprised if it ever made it into Merb proper. Best practice in Merb land is to use more of an unobtrusive JS approach, with jQuery or UJS-style prototype.