diff options
author | Sam Stephenson <sam@37signals.com> | 2006-01-23 06:52:26 +0000 |
---|---|---|
committer | Sam Stephenson <sam@37signals.com> | 2006-01-23 06:52:26 +0000 |
commit | 84361478256f620cc3c4d31235eeec28bba058f0 (patch) | |
tree | 2b264f894cb9f052e72e3dec17e509ac72c0c617 /actionpack/CHANGELOG | |
parent | d921b799747aacb47dc8bbca9b2eefe25159e9d5 (diff) | |
download | rails-84361478256f620cc3c4d31235eeec28bba058f0.tar.gz rails-84361478256f620cc3c4d31235eeec28bba058f0.tar.bz2 rails-84361478256f620cc3c4d31235eeec28bba058f0.zip |
Add the ability to call JavaScriptGenerator methods from helpers called in update blocks
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@3470 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
Diffstat (limited to 'actionpack/CHANGELOG')
-rw-r--r-- | actionpack/CHANGELOG | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/actionpack/CHANGELOG b/actionpack/CHANGELOG index bf00979083..7476c736ac 100644 --- a/actionpack/CHANGELOG +++ b/actionpack/CHANGELOG @@ -1,5 +1,19 @@ *SVN* +* Add the ability to call JavaScriptGenerator methods from helpers called in update blocks. [Sam Stephenson] Example: + module ApplicationHelper + def update_time + page.replace_html 'time', Time.now.to_s(:db) + page.visual_effect :highlight, 'time' + end + end + + class UserController < ApplicationController + def poll + render :update { |page| page.update_time } + end + end + * Fixed that SSL would not correctly be detected when running lighttpd/fcgi behind lighttpd w/mod_proxy #3548 [stephen_purcell@yahoo.com] * Added the possibility to specify atomatic expiration for the memcachd session container #3571 [Stefan Kaes] |