ERROR NoMethodError: undefined method `debug_rjs=' for ActionView::Base:Class

前端 未结 1 1841
遥遥无期
遥遥无期 2021-02-11 15:26

This project was built with rails 3.0.9.

Now i updated the gems and Gemfile =>

source \'http://rubygems.org\'

gem \'rails\', \'3.1.1\'

# Bundle edge Ra         


        
1条回答
  •  广开言路
    2021-02-11 16:08

    RJS has been abstracted out of Rails 3.1 and JQuery is the new default.

    http://weblog.rubyonrails.org/2011/4/21/jquery-new-default

    If you would like to use RJS, you need to include

    gem 'prototype-rails'
    

    in your Gemfile

    0 讨论(0)
提交回复
热议问题