Rails 3 and RJS

后端 未结 2 1618
醉话见心
醉话见心 2020-12-05 17:04

I use the rails 3.0.0.beta

Is there any new syntax to write RJS, here is an example

  def remote_create
    @photo = Photo.new(params[:photo])

    r         


        
2条回答
  •  北荒
    北荒 (楼主)
    2020-12-05 17:32

    not sure on any syntax changes for rails 3 irt rjs but i recommend following along over at railscasts.com - he's been posting videos of all the new features of rails 3 and if there are any updates on how to render/handle js i'm sure he'll do an episode on it.

提交回复
热议问题