similar to: Routin Error

Displaying 20 results from an estimated 7000 matches similar to: "Routin Error"

2007 Jun 01
1
[CruiseControl] RubyOnRails build 6924.1 failed
The build failed. CHANGES ------- Revision 6924 committed by david on 2007-06-01 06:48:09 Added proper handling of arrays (closes #8537) [hasmanyjosh] M /trunk/activesupport/test/core_ext/array_ext_test.rb M /trunk/activesupport/CHANGELOG M /trunk/activesupport/test/core_ext/hash_ext_test.rb M /trunk/activesupport/lib/active_support/core_ext/array/conversions.rb M
2011 Apr 12
0
Suppress ActionController::RoutingError in logs
My rails log get chock a block with things like <<<<<<<<<<<< ActionController::RoutingError (No route matches "/admin/Y- ivrrecording.php" with {:method=>:get}): ... ActionController::RoutingError (No route matches "/manager/html" with {:method=>:get}): .. ActionController::RoutingError (No route matches "/webdav/test" with
2011 Nov 26
1
ActionController::RoutingError (No route matches [GET] "/image.jpg"):
I am using rails 3.1.3. Inside config/ application -> config.assets.enabled = true Inside development.rb -> config.assets.compress = false Inside production.rb -> config.serve_static_assets = false; config.assets.compile = false I have images placed in assets/images. If i do localhost:3000/assets/ image I get the image in the browser, but unfortunately, on the browser i am
2009 Apr 17
0
A frustrating and strange error when config.action_controller.perform_caching = true
Hello all. I am having a hell of a problem and it''s driving me nuts. I get the following error (undefined method `controller_name'' for nil:NilClass): but only when config.action_controller.perform_caching = true I googled around some and found this thread http://groups.google.com/group/communityengine/browse_thread/thread/b84154e5228bf9f3which suggests it may be a conflict with
2006 Nov 08
0
routing error does not get caught by rescue_action_in_public
I have this in my application controller. def rescue_action_in_public(exception) logger.error("rescue_action_in_public executed") case exception when ActiveRecord::RecordNotFound, ::ActionController::UnknownAction, ::ActionController::RoutingError logger.warn("rendering 404 page") render(:file =>
2006 Feb 16
3
rescue_action_in_public question
I''m using the rescue_action_in_public example from the Agile book to handle errors and email serious ones to me. In my application.rb controller: def rescue_action_in_public(exception) logger.error("rescue_action_in_public executed") case exception when ActiveRecord::RecordNotFound, ActionController::RoutingError, ActionController::UnknownAction
2006 Jul 24
1
All functional tests fail with RoutingError
All, I''m using InstantRails 1.0 on Windows XP and all my functional (controller) tests fail with ActionController::RoutingError, although the actions work OK through a web server/browser. Here''s an example of an error: 1) Error: test_create(AdminControllerTest): ActionController::RoutingError: No url can be generated for the hash {:controlle r=>"admin",
2006 Mar 07
2
webrick RoutingError
problem: webrick will start a rails server, but I cannot access my application. I get the error: Processing Base#index (for 127.0.0.1 at Tue Mar 07 19:16:58 CET 2006) Parameters: {} ActionController::RoutingError (Recognition failed for "/keywordeditor"): my application is called keywordeditor. I am starting the server from the correct place with the correct command (I already
2006 Feb 26
0
rescue_action with RoutingError not loading ApplicationController/ApplicationHelper
Why is it that when rescue_action is called with any exception except for RoutingError, "self" refers to a controller within my application, but when there''s a RoutingError, "self" refers to an object of ActionController::Base? This makes some sense because a "RoutingError" implies that no controller was found to process the request. However, I am trying to
2011 Nov 26
3
Asset pipeline giving me hard time. Please help !!! - (rails 3.1.3)
I am using rails 3.1.3. Inside config/ application -> config.assets.enabled = true Inside development.rb -> config.assets.compress = false Inside production.rb -> config.serve_static_assets = false; config.assets.compile = false I have images placed in assets/images. If i do localhost:3000/assets/ image I get the image in the browser, but unfortunately, on the browser i am
2008 Jan 12
0
Can't test application controller methods in functional tests?
I have two methods in application controller that I want to test from ForumController: ----------------------- class ApplicationController < ActionController::Base ... def logout session[:username] = nil session[:admin] = nil redirect_to(request.request_uri) end ... def home redirect_to(:controller => ''forum'', :action =>
2011 Jul 06
0
uninitialized constant
I''m using devise, wich works fine, now I try to use devise_invitable. I installed it correctly, but I''m getting the error when I try to access http://localhost:3000/users/invitation/new The error is: Started GET "/users/invitation/new" for 127.0.0.1 at 2011-07-06 20:47:07 -0300 ActionController::RoutingError (uninitialized constant Users): Rendered
2005 Mar 15
0
0.10.0, Routes and Query strings
So I made the leap to 0.10.0 but I can not get routes to play nice with query strings... I have this mapping in my routes.rb file map.connect '':controller/:action/:id'', :controller => ''main_controller'' This is all cool and everything works fine http://www.siteroot.com/ maps to http://www.siteroot.com/main_controller/index But when I add a query string to
2011 Nov 01
1
rake db:migrate aborted
I''m reading the rails tutorial book and in chapter 6 page 199 I have to make a rake db:migrate, but I get this error: rake aborted! undefined method `prerequisites'' for nil:NilClass (See full trace by running task with --trace) When I try with rake db:migrate --trace I get the following errors: rake aborted! undefined method `prerequisites'' for nil:NilClass
2012 Aug 14
1
NoMethodError: undefined method `accept' for nil:NilClass
Here''s the trace, NoMethodError: undefined method `accept'' for nil:NilClass from /Users/blaine/.rvm/gems/ruby-1.9.2-p290/gems/activerecord-3.2.3/lib/active_record/connection_adapters/abstract/database_statements.rb:7:in `to_sql'' from
2008 Apr 30
7
rescue_from issue with AWS - uninitialized constant
The new rescue_from in edge rails seems to conflict with ActionWebService, which I need for various other purposes. When I define, for example (with AWS gem installed): <b>rescue_from ActionController::RoutingError, :with => :page_not_found</b> I get the exception: <b>uninitialized constant ActionWebService::Dispatcher::ActionController::Base</b> OK, so AWS
2007 Mar 02
5
ActionController::RoutingError
plz give me the solution to solve the below error ActionController::RoutingError ActionController::RoutingError in Issues#new Showing app/views/issues/_issue.rhtml where line #1 raised: issue_url failed to generate from {:controller=>"issues", :action=>"show", :id=>nil}, expected: {:controller=>"issues", :action=>"show"}, diff:
2005 Dec 08
1
SwitchTower, Apache, and Routing Errors
Hello, I deployed a Rails App using Switchtower and now I''m getting a Routing Error to my Javascript and Stylesheet files. Has anybody else had this issue? Here is the log file. > ActionController::RoutingError (Recognition failed for > "/javascripts/prototype.js"): > /vendor/rails/actionpack/lib/action_controller/routing.rb:470:in >
2011 May 25
0
(solution) .js and .css error when using production environment
When changing to a production deployment with a single rails instance, NOT proxied, errors showed up on the console, and of course .js and .css files were not served as a result: ActionController::RoutingError (No route matches "/javascripts/application.js"): ActionController::RoutingError (No route matches "/favicon.ico"): Solution: in config/environments/production.rb:
2011 Feb 02
0
Converting rails 2 to 3 remote_function error
I''m still very new to RoR and had built a site for a friend. I''m now trying to port it to version 3 and am having an issue with remote_function. Right now, in a layout file, I have an image_tag and for :onclick I am using the following: :onclick => remote_function(:url => { :controller => ''rcg'', :action => ''nav_click''}, :with