Article:
  Ajax on Rails
Subject:   example
Date:   2009-04-15 00:50:44
From:   Rafa1970
for beginners, The render_text method is old, now you have ti use


render :text => "

The time is " + DateTime.now.to_s + "

"


and


render :text => "

when3 The time is " + DateTime.now.to_s + "

"