ERROR NoMethodError: undefined method `debug_rjs=' for ActionView::Base:Class
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
Undefined method `cache_template_extensions=' for ActionView::Base:Class (NoMethodError)
Remove this line (from config/environments/development.rb or config/environment.rb:15)
config.action_view.cache_template_extensions = false
Redmine email configuration: undefined method `email_delivery=' for ActionMailer::Base:Class
What version of redmine are you using?
The current version doesn't use email.yml
anymore, but configuration.yml
for email settings.
From the commit message of r4752:
Email delivery settings that were stored in config/email.yml should be
moved to this new configuration file.
Rails 3.1.0 - undefined method `page_cache_extension' for ActionController::Base:Class
somewhere I've read that it could be caused because of empty database - do You have one? Check if there You have any records ;) This resolved my problem with it.
Rails 3.1 AJAX form - ActionView::Template::Error (undefined method `gsub' for #ActionDispatch::Flash::FlashHash:0x00000102b73b78):
Rails has changed the way some things work in 3.1, from what I understand Rails 3.1 is not using Hash for the FlashHash any more and they now are basing it off of Enumerable. Here is an answer that goes into more detail. You should be able to use:
flash.discard(:notice)
Instead of the old:
flash.delete(:notice)
rvm ruby 1.9.2 and Rails 3.1 can't start server
Check your config/environments/development.rb
file, you probably have this line:
config.action_view.debug_rjs = true
Remove it. Probably best to search your entire project for any debug_rjs
references and remove them all.
Related Topics
Postgresql Ilike with Multiple Matches in Rails Activerecord
Ruby on Rails Collection Select - How to Pre-Select the Right Value
How to Parse a Number from a String That May Have a Leading Zero
Fast Fuzzy/Approximate Search in Dictionary of Strings in Ruby
What's the Efficient Way to Multiply Two Arrays and Get Sum of Multiplied Values in Ruby
What Are Some Examples of Using Nokogiri
How to Read from Redis Inside a Multi Block in Ruby
How to Refer a Local Gem in Ruby
How to Get Class-Object from String "A::B::C" in Ruby
Getting All Links of a Webpage Using Ruby
Why Is a String Key for a Hash Frozen
Using Negative Conditions Within Regular Expressions
Using Ruby CSV to Extract One Column
How to Do Complex Querying with Logical Operations by Using Searchkick
Error When Installing Ruby 2.1.3 with Rvm
Ruby on Rails Looks for CSS in Assets Instead of Public/Stylesheets