search for: cache_template_extensions

Displaying 10 results from an estimated 10 matches for "cache_template_extensions".

2009 Jun 10
1
[PATCH] remove rails2.3 deprecated config.action_view.cache_template_extensions
...nments/development.rb +++ b/src/config/environments/development.rb @@ -33,7 +33,6 @@ config.whiny_nils = true # Show full error reports and disable caching config.action_controller.consider_all_requests_local = true config.action_controller.perform_caching = false -config.action_view.cache_template_extensions = false config.action_view.debug_rjs = true # Don't care if the mailer can't send -- 1.6.0.6
2008 Nov 22
3
Problem upgrading from Rails 2.0.2 to 2.2.2
...a very simple rails based website from Rails 2.0.2 to 2.2.2. When I started up Mongrel however, I got the following error: ** Starting Rails with development environment... ExitingC:/InstantRails/ruby/lib/ruby/gems/1.8/gems/rails-2.2.2/lib/initializer.rb:530:in `send'': undefined method `cache_template_extensions='' for ActionView::Base:Class (NoMethodError) from C:/InstantRails/ruby/lib/ruby/gems/1.8/gems/rails-2.2.2/lib/initializer.rb:530:in `initialize_framework_settings'' from C:/InstantRails/ruby/lib/ruby/gems/1.8/gems/rails-2.2.2/lib/initializer.rb:529:in `each'' from...
2006 May 23
7
back-porting 1.1.1 app to 1.0 rails server
...oon I''m told. I set "RAILS_GEM_VERSION = ''1.0.0''" in my environment.rb file to get past inital errors, but now I''m getting the following error: /usr/local/lib/ruby/gems/1.8/gems/rails-1.0.0/lib/initializer.rb:256:in `send'': undefined method `cache_template_extensions='' for ActionView::Base:Class (NoMethodError) Is there any way around this (short of changing hosting providers)? Is there any way for me to config my local development environment to avoid 1.1.1 > 1.0.0 migration issues? many thanks. -- Posted via http://www.ruby-forum.com/.
2010 Aug 24
11
will_paginate problem
Hi I am using rails 2.3.8 & ruby 1.3.7 & will_paginate 2.3.14 I have table name books. I am doing this code for pagination, In book_controller @@@@books = Book.paginate :page => params[:page], :per_page => 10@@@@ & in index.html.erb @@@@@<%= will_paginate @books %>@@@@@ Also added in environment.rb file this line @@@@@ require
2007 Mar 24
6
Rails Development Log
Hi, I am using Ruby+Rails with Mongrel. Is there any way to disable logging so that everytime I start rails (mongrel_rails start), it doesn''t automatically start logging info to development.log Thanks! -- Posted via http://www.ruby-forum.com/. --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Ruby on
2008 Sep 18
1
user_observer (restful_authentication) causes failure in loading rails
...''''. Removing partially loaded constants ([])... Error while attempting to load ''''. Removing partially loaded constants ([])... Error while attempting to load ''''. Removing partially loaded constants ([])... DEPRECATION WARNING: config.action_view.cache_template_extensions option has been deprecated and has no affect. Please remove it from your config files. See http://www.rubyonrails.org/deprecation for details. (called from send at ./script/../config/../vendor/rails/ railties/lib/initializer.rb:464) Error while attempting to load ''''. Removing par...
2009 Dec 25
18
rescue_from ActionController::RoutingError II
OK ... so I''m not supposed to use it but ... Why doesn''t rescue_from ActionController::RoutingError work witht he code from http://www.rubyplus.org/episodes/20-Extended-RESTful-Authentication-Rails-2-App.html class ApplicationController < ActionController::Base helper :all # include all helpers, all the time # See ActionController::RequestForgeryProtection for details
2009 Jan 22
8
From Instantrails to the Mac
Hi, I am a Newbie to Mac and Rails. I have a rails apps made using instantrails in windows, and have been trying to transfer it to a mac. I am using Leopard and installed mac ports and Xcode. I copied the folder from rails_apps and added all the gems. Anything else I need to do? Any Ideas? Thank you! This is the set of errors that I am getting after starting the server: Exiting
2010 Jun 08
1
session_options[:secure] resets session_id on every request
...6", :port => 25, :domain => "babeland.com" } # Turn these on and comment out the above config options for development [THIS IS AN UGLY HACK] # config.cache_classes = false # config.action_controller.perform_caching = false # config.action_view.cache_template_extensions = false config.log_level = :debug # encypt session_id cookies # I''m only doing this in production mode because I don''t run SSL on my dev machine. # If this were system wide, I could never set the session_id cookie with my development machine ActionController::Base.sessio...
2006 Jul 14
14
[URGENT] Need help getting rails app back up desperately
I''m desperate. A few hours ago I was checking my server because we are running a survey for a new client and everything looked good for that app but I noticed another Rails app was quite large (twice as normal) so I decided it was time for a restart. Big mistake. Upon restart the application gave me a 500 error. Checking the logs I found a stack level too deep error that after hours I