Ruby on Rails | Screencasts | Download | Documentation | Weblog | Community | Source
Show
Ignore:
Timestamp:
04/08/08 05:05:54 (5 months ago)
Author:
rick
Message:

Automatically parse posted JSON content for Mime::JSON requests. [rick]

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • trunk/actionpack/CHANGELOG

    r9241 r9242  
    11*SVN* 
     2 
     3* Automatically parse posted JSON content for Mime::JSON requests.  [rick] 
     4 
     5  POST /posts 
     6  {"post": {"title": "Breaking News"}} 
     7 
     8  def create 
     9    @post = Post.create params[:post] 
     10    # ... 
     11  end 
    212 
    313* add json_escape ERB util to escape html entities in json strings that are output in HTML pages. [rick]