search for: show_exceptions

Displaying 20 results from an estimated 23 matches for "show_exceptions".

2012 Jun 18
4
Problem with exists? method
...t; for 127.0.0.1 at Mon Jun 18 13:02:11 -0700 2012 ActionController::RoutingError (No route matches [GET] "/tablenames/columnnamevalue.json"): actionpack (3.2.4) lib/action_dispatch/middleware/debug_exceptions.rb:21:in `call'' actionpack (3.2.4) lib/action_dispatch/middleware/show_exceptions.rb:56:in `call'' railties (3.2.4) lib/rails/rack/logger.rb:26:in `call_app'' railties (3.2.4) lib/rails/rack/logger.rb:16:in `call'' actionpack (3.2.4) lib/action_dispatch/middleware/request_id.rb:22:in `call'' rack (1.4.1) lib/rack/methodoverride.rb:21:in `c...
2012 Mar 01
1
help stylesheet_link_tag
...44:21 +0800 Served asset /scaffold.css - 404 Not Found (5ms) ActionController::RoutingError (No route matches [GET] "/assets/ scaffold.css"): actionpack (3.2.1) lib/action_dispatch/middleware/ debug_exceptions.rb:21:in `call'' actionpack (3.2.1) lib/action_dispatch/middleware/show_exceptions.rb: 56:in `call'' railties (3.2.1) lib/rails/rack/logger.rb:26:in `call_app'' railties (3.2.1) lib/rails/rack/logger.rb:16:in `call'' actionpack (3.2.1) lib/action_dispatch/middleware/request_id.rb: 22:in `call'' rack (1.4.1) lib/rack/methodoverride.rb:21:in...
2010 Aug 09
0
Exceptions in functional tests (rescue_action_in_public! broken?)
...ntroller::Rescue and ActionController::TestCase::RaiseActionExceptions. This coordination is no longer present in 3.0.0.rc1; rescue_action_in_public! has no effect on whether or not exceptions propagate to the test (they always do). The mis-coordination has two aspects: a) config.action_dispatch.show_exceptions now defaults to false, meaning the ShowExceptions middleware is not used at all in the test environment -- i.e. there''s no way exceptions could be caught. http://github.com/rails/rails/commit/d898a4ba425a201827f07a5bb11c8c6bf85159b8 b) ActionController::TestCase::RaiseActionExceptions#re...
2014 Feb 18
0
Compiled assets are not found in production mode run locally
...6:36.417436 #4036] FATAL -- : ActionController::RoutingError (No route matches [GET] "/assets/application-43dcf2bdff355d2c3053e2aade23881a.css"): actionpack (4.0.2) lib/action_dispatch/middleware/debug_exceptions.rb:21:in `call' actionpack (4.0.2) lib/action_dispatch/middleware/show_exceptions.rb:30:in `call' railties (4.0.2) lib/rails/rack/logger.rb:38:in `call_app' railties (4.0.2) lib/rails/rack/logger.rb:20:in `block in call' activesupport (4.0.2) lib/active_support/tagged_logging.rb:67:in `block in tagged' activesupport (4.0.2) lib/active_support/tagged_logg...
2010 Dec 10
0
Encoding issues when uploading files
...ll_callbacks'' actionpack (3.0.0) lib/action_dispatch/middleware/callbacks.rb:44:in `call'' rack (1.2.1) lib/rack/sendfile.rb:107:in `call'' actionpack (3.0.0) lib/action_dispatch/middleware/remote_ip.rb:48:in `call'' actionpack (3.0.0) lib/action_dispatch/middleware/show_exceptions.rb: 46:in `call'' railties (3.0.0) lib/rails/rack/logger.rb:13:in `call'' rack (1.2.1) lib/rack/runtime.rb:17:in `call'' activesupport (3.0.0) lib/active_support/cache/strategy/local_cache.rb: 72:in `call'' rack (1.2.1) lib/rack/lock.rb:11:in `block in call''...
2011 May 21
4
request.format = :mobile causes error "undefined method `ref' for nil:NilClass"
...ll_callbacks'' actionpack (3.0.7) lib/action_dispatch/middleware/callbacks.rb:44:in `call'' rack (1.2.2) lib/rack/sendfile.rb:107:in `call'' actionpack (3.0.7) lib/action_dispatch/middleware/remote_ip.rb:48:in `call'' actionpack (3.0.7) lib/action_dispatch/middleware/show_exceptions.rb: 47:in `call'' railties (3.0.7) lib/rails/rack/logger.rb:13:in `call'' rack (1.2.2) lib/rack/runtime.rb:17:in `call'' activesupport (3.0.7) lib/active_support/cache/strategy/local_cache.rb: 72:in `call'' rack (1.2.2) lib/rack/lock.rb:11:in `call'' rack (1....
2010 Aug 18
6
undefined method `eq' for nil:NilClass
I''m walking through an example in the "Head First Rails" book, but, instead doing the examples using Rails3.0.0.rc. But, I''m getting this error when browsing for example: http://localhost:3000/advs/1 undefined method `eq'' for nil:NilClass Provided that my advs_controller.rb is as follows: http://pastie.org/private/cd9zntg2ite57ept288kfa Any ideas why
2012 Apr 24
1
Rails 3 Errno::EAFNOSUPPORT: Address family not supported by protocol - socket(2)
...ks.rb:27:in `call'' [GEM_ROOT]/gems/actionpack-3.2.3/lib/action_dispatch/middleware/remote_ip.rb:31:in `call'' [GEM_ROOT]/gems/actionpack-3.2.3/lib/action_dispatch/middleware/debug_exceptions.rb:16:in `call'' [GEM_ROOT]/gems/actionpack-3.2.3/lib/action_dispatch/middleware/show_exceptions.rb:56:in `call'' [GEM_ROOT]/gems/railties-3.2.3/lib/rails/rack/logger.rb:26:in `call_app'' [GEM_ROOT]/gems/railties-3.2.3/lib/rails/rack/logger.rb:16:in `call'' [GEM_ROOT]/gems/actionpack-3.2.3/lib/action_dispatch/middleware/request_id.rb:22:in `call'' [GEM_ROOT]...
2012 Apr 24
1
Rails 3 Errno::EAFNOSUPPORT: Address family not supported by protocol - socket(2)
...ks.rb:27:in `call'' [GEM_ROOT]/gems/actionpack-3.2.3/lib/action_dispatch/middleware/remote_ip.rb:31:in `call'' [GEM_ROOT]/gems/actionpack-3.2.3/lib/action_dispatch/middleware/debug_exceptions.rb:16:in `call'' [GEM_ROOT]/gems/actionpack-3.2.3/lib/action_dispatch/middleware/show_exceptions.rb:56:in `call'' [GEM_ROOT]/gems/railties-3.2.3/lib/rails/rack/logger.rb:26:in `call_app'' [GEM_ROOT]/gems/railties-3.2.3/lib/rails/rack/logger.rb:16:in `call'' [GEM_ROOT]/gems/actionpack-3.2.3/lib/action_dispatch/middleware/request_id.rb:22:in `call'' [GEM_ROOT]...
2013 Feb 10
0
Nested attributes doesnt get updated
...b:28:in `call'' actionpack (3.1.3) lib/action_dispatch/middleware/reloader.rb:68:in `call'' rack (1.3.5) lib/rack/sendfile.rb:101:in `call'' actionpack (3.1.3) lib/action_dispatch/middleware/remote_ip.rb:48:in `call'' actionpack (3.1.3) lib/action_dispatch/middleware/show_exceptions.rb:47:in `call'' railties (3.1.3) lib/rails/rack/logger.rb:13:in `call'' rack (1.3.5) lib/rack/methodoverride.rb:24:in `call'' rack (1.3.5) lib/rack/runtime.rb:17:in `call'' activesupport (3.1.3) lib/active_support/cache/strategy/local_cache.rb:72:in `call''...
2010 Jul 26
2
Exception Pages when behind a proxy
I am not sure if this desired feature or not but when we are behind a local proxy ie. Nginx/Varnish then the new ShowException middleware doesn''t seem to properly detect the remote IP address and it appears as if every browser gets a local error page with a stack trace, etc. I''ve opened up a ticket on the rails bug tracker but I also would like to verify that this is in fact a
2010 Jul 27
13
3.0.0rc ActionController::RoutingError No route matches
Have been developing on 3.0.0beta4 and just updated to 3.0.0.rc. When I try to link_to() a User object that previously had worked, I get the following: ActionView::Template::Error (No route matches {:action=>"destroy", :controller=>"games", :id=>#<User ..... > Yet I have in my routes.rb file has resources :users and my "rake routes" shows:
2011 Apr 20
1
Omniauth facebook authentication failure
I am using devise and omniauth for authentication. Wherever i click on the facebook login button i get this warning msg. ****************************************** warning: peer certificate won''t be verified in this SSL session ****************************************** But now i get this error msg ***************************************** OpenSSL::SSL::SSLError SSL_connect returned=1
2013 Mar 24
5
Rails 4.0 has_many_through and fields_for
..._dispatch/middleware/reloader.rb:64:in `call'' actionpack (4.0.0.beta1) lib/action_dispatch/middleware/remote_ip.rb:76:in `call'' actionpack (4.0.0.beta1) lib/action_dispatch/middleware/debug_exceptions.rb:17:in `call'' actionpack (4.0.0.beta1) lib/action_dispatch/middleware/show_exceptions.rb:30:in `call'' railties (4.0.0.beta1) lib/rails/rack/logger.rb:38:in `call_app'' railties (4.0.0.beta1) lib/rails/rack/logger.rb:21:in `block in call'' activesupport (4.0.0.beta1) lib/active_support/tagged_logging.rb:67:in `block in tagged'' activesupport (4.0.0.be...
2013 Oct 29
3
rake db:migrate debacle
...action_dispatch/middleware/reloader.rb:64:in `call'' actionpack (4.0.0) lib/action_dispatch/middleware/remote_ip.rb:76:in `call'' actionpack (4.0.0) lib/action_dispatch/middleware/debug_exceptions.rb:17:in `call'' actionpack (4.0.0) lib/action_dispatch/middleware/show_exceptions.rb:30:in `call'' railties (4.0.0) lib/rails/rack/logger.rb:38:in `call_app'' railties (4.0.0) lib/rails/rack/logger.rb:21:in `block in call'' activesupport (4.0.0) lib/active_support/tagged_logging.rb:67:in `block in tagged'' activesupport (4.0.0) lib/ac...
2012 Jul 23
4
uninitialized constant ActionController::Flash::FlashHash [NameError])
...) lib/action_dispatch/middleware/reloader.rb:65:in `call'' actionpack (3.2.1) lib/action_dispatch/middleware/remote_ip.rb:31:in `call'' actionpack (3.2.1) lib/action_dispatch/middleware/debug_exceptions.rb:16:in `call'' actionpack (3.2.1) lib/action_dispatch/middleware/show_exceptions.rb:56:in `call'' railties (3.2.1) lib/rails/rack/logger.rb:26:in `call_app'' railties (3.2.1) lib/rails/rack/logger.rb:16:in `call'' actionpack (3.2.1) lib/action_dispatch/middleware/request_id.rb:22:in `call'' rack (1.4.1) lib/rack/methodoverride.rb:21:in `c...
2012 Feb 26
15
ActiveRecord::ConnectionNotEstablished
Hi, I am trying the tutorial in: http://guides.rubyonrails.org/getting_started.html when I try to navigate to http://localhost:3000 after the 4.3 change I get the error : ActiveRecord::ConnectionNotEstablished and I don''t know how to solve it the database.yml file is: adapter => mysql host => 127.0.0.1 database => blog username => root password => ***** my
2012 Apr 19
1
active admin undefined method `' for nil:NilClass
...(3.2.1) lib/action_dispatch/middleware/reloader.rb:65:in `call'' actionpack (3.2.1) lib/action_dispatch/middleware/remote_ip.rb:31:in `call'' actionpack (3.2.1) lib/action_dispatch/middleware/debug_exceptions.rb:16:in `call'' actionpack (3.2.1) lib/action_dispatch/middleware/show_exceptions.rb:56:in `call'' railties (3.2.1) lib/rails/rack/logger.rb:26:in `call_app'' railties (3.2.1) lib/rails/rack/logger.rb:16:in `call'' actionpack (3.2.1) lib/action_dispatch/middleware/request_id.rb:22:in `call'' rack (1.4.1) lib/rack/methodoverride.rb:21:in `call'...
2012 Sep 04
2
How to get contact list from yahoo in rails using OAuth
I can successfully get the contacts from google using OAuth gem in rails. my gmail configuration is : :google=>{ :key=>"***", :secret=>"***", :expose => true, :scope=>"https://www.google.com/m8/feeds/" } now i want to get contact from yahoo and hot mail. How to get that contact I have given following configuration in my
2012 Sep 18
2
undefined method `to_sym' for nil:NilClass
...(3.2.2) lib/action_dispatch/middleware/reloader.rb:65:in `call'' actionpack (3.2.2) lib/action_dispatch/middleware/remote_ip.rb:31:in `call'' actionpack (3.2.2) lib/action_dispatch/middleware/debug_exceptions.rb:16:in `call'' actionpack (3.2.2) lib/action_dispatch/middleware/show_exceptions.rb:56:in `call'' railties (3.2.2) lib/rails/rack/logger.rb:26:in `call_app'' railties (3.2.2) lib/rails/rack/logger.rb:16:in `call'' actionpack (3.2.2) lib/action_dispatch/middleware/request_id.rb:22:in `call'' rack (1.4.1) lib/rack/methodoverride.rb:21:in `call'...