New inline RJS for rails

Sam doesn’t stop the goodness coming, now with the new inline RJS updates (from the CHANGELOG): Add render :update for inline RJS. [Sam Stephenson] Example: class UserController < ApplicationController def refresh render :update do |page| page.replace_html(‘user_list’, :partial => ‘user’, :collection => @users) page.visual_effect :highlight, ‘user_list’ end end end Now, that’s very cool for those “quickie” … Continue reading New inline RJS for rails