Displaying 14 results from an estimated 14 matches for "best_standards_support".
2011 Feb 28
4
best_standards_support
File ./lib/rails/generators/rails/app/templates/config/environments/development.rb.tt:
# Only use best-standards-support built into browsers
config.action_dispatch.best_standards_support = :builtin
File ./lib/rails/application.rb:
middleware.use ::ActionDispatch::BestStandardsSupport,
config.action_dispatch.best_standards_support if
config.action_dispatch.best_standards_support
What''s the point of setting action_dispatch.best_standards_support to
Symbol when we only care...
2012 Jan 16
0
Rails3 logging issue in development.log
...ise_delivery_errors = false
#config.logger = Logger.new(STDOUT)
#logger = Logger.new(''logfile.log'')
# Print deprecation notices to the Rails logger
config.active_support.deprecation = :log
# Only use best-standards-support built into browsers
config.action_dispatch.best_standards_support = :builtin
# Do not compress assets
config.assets.compress = false
# Expands the lines which load the assets
config.assets.debug = true
end
*Enviornment.rb*
# Load the rails application
require File.expand_path(''../application'', __FILE__)
# Rails.logger = Log4r::Lo...
2012 Jun 27
0
config.cache_classes true or false in test environment?
....consider_all_requests_local = true
config.action_view.debug_rjs = true
config.action_controller.perform_caching = false
config.log_level = :debug
config.action_mailer.raise_delivery_errors = false
config.active_support.deprecation = :log
config.action_dispatch.best_standards_support = :builtin
end
I looked in google about config.cache_classes and I understood that if I
set it to false then my objects will be reloaded on every request. I found
that capybara wants this to be set to true. I am using cucumber and
capybara, rails 3.0.9 and ruby 1.9.2-p290
Can you tell me wha...
2010 Dec 10
0
Encoding issues when uploading files
...ach''
rack-mount (0.6.13) lib/rack/mount/code_generation.rb:92:in
`recognize''
rack-mount (0.6.13) lib/rack/mount/route_set.rb:139:in `call''
actionpack (3.0.0) lib/action_dispatch/routing/route_set.rb:492:in
`call''
actionpack (3.0.0) lib/action_dispatch/middleware/
best_standards_support.rb:17:in `call''
actionpack (3.0.0) lib/action_dispatch/middleware/head.rb:14:in `call''
rack (1.2.1) lib/rack/methodoverride.rb:24:in `call''
actionpack (3.0.0) lib/action_dispatch/middleware/params_parser.rb:
21:in `call''
actionpack (3.0.0) lib/action_dispatch/mid...
2011 May 21
4
request.format = :mobile causes error "undefined method `ref' for nil:NilClass"
...ach''
rack-mount (0.6.14) lib/rack/mount/code_generation.rb:92:in
`recognize''
rack-mount (0.6.14) lib/rack/mount/route_set.rb:139:in `call''
actionpack (3.0.7) lib/action_dispatch/routing/route_set.rb:493:in
`call''
actionpack (3.0.7) lib/action_dispatch/middleware/
best_standards_support.rb:17:in `call''
actionpack (3.0.7) lib/action_dispatch/middleware/head.rb:14:in `call''
rack (1.2.2) lib/rack/methodoverride.rb:24:in `call''
actionpack (3.0.7) lib/action_dispatch/middleware/params_parser.rb:
21:in `call''
actionpack (3.0.7) lib/action_dispatch/mid...
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
2013 Feb 10
0
Nested attributes doesnt get updated
...d_each''
rack-mount (0.8.2) lib/rack/mount/code_generation.rb:95:in `recognize''
rack-mount (0.8.2) lib/rack/mount/route_set.rb:141:in `call''
actionpack (3.1.3) lib/action_dispatch/routing/route_set.rb:532:in `call''
actionpack (3.1.3) lib/action_dispatch/middleware/best_standards_support.rb:17:in `call''
rack (1.3.5) lib/rack/etag.rb:23:in `call''
rack (1.3.5) lib/rack/conditionalget.rb:35:in `call''
actionpack (3.1.3) lib/action_dispatch/middleware/head.rb:14:in `call''
actionpack (3.1.3) lib/action_dispatch/middleware/params_parser.rb:21:in `call...
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
2012 Apr 19
1
active admin undefined method `' for nil:NilClass
...9;
sass (3.1.15) lib/sass/plugin/rack.rb:54:in `call''
warden (1.1.1) lib/warden/manager.rb:35:in `block in call''
warden (1.1.1) lib/warden/manager.rb:34:in `catch''
warden (1.1.1) lib/warden/manager.rb:34:in `call''
actionpack (3.2.1)
lib/action_dispatch/middleware/best_standards_support.rb:17:in `call''
rack (1.4.1) lib/rack/etag.rb:23:in `call''
rack (1.4.1) lib/rack/conditionalget.rb:35:in `call''
actionpack (3.2.1) lib/action_dispatch/middleware/head.rb:14:in `call''
actionpack (3.2.1) lib/action_dispatch/middleware/params_parser.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
...4) lib/journey/router.rb:68:in `call''
journey (1.0.4) lib/journey/router.rb:56:in `each''
journey (1.0.4) lib/journey/router.rb:56:in `call''
actionpack (3.2.2) lib/action_dispatch/routing/route_set.rb:594:in
`call''
actionpack (3.2.2)
lib/action_dispatch/middleware/best_standards_support.rb:17:in `call''
rack (1.4.1) lib/rack/etag.rb:23:in `call''
rack (1.4.1) lib/rack/conditionalget.rb:35:in `call''
actionpack (3.2.2) lib/action_dispatch/middleware/head.rb:14:in `call''
actionpack (3.2.2) lib/action_dispatch/middleware/params_parser.rb:21:in
`call...
2012 Apr 24
1
Rails 3 Errno::EAFNOSUPPORT: Address family not supported by protocol - socket(2)
...ems/journey-1.0.3/lib/journey/router.rb:56:in `each''
[GEM_ROOT]/gems/journey-1.0.3/lib/journey/router.rb:56:in `call''
[GEM_ROOT]/gems/actionpack-3.2.3/lib/action_dispatch/routing/route_set.rb:600:in
`call''
[GEM_ROOT]/gems/actionpack-3.2.3/lib/action_dispatch/middleware/best_standards_support.rb:17:in
`call''
[GEM_ROOT]/gems/rack-1.4.1/lib/rack/etag.rb:23:in `call''
[GEM_ROOT]/gems/rack-1.4.1/lib/rack/conditionalget.rb:35:in `call''
[GEM_ROOT]/gems/actionpack-3.2.3/lib/action_dispatch/middleware/head.rb:14:in
`call''
[GEM_ROOT]/gems/actionpack-3.2.3/l...
2012 Apr 24
1
Rails 3 Errno::EAFNOSUPPORT: Address family not supported by protocol - socket(2)
...ems/journey-1.0.3/lib/journey/router.rb:56:in `each''
[GEM_ROOT]/gems/journey-1.0.3/lib/journey/router.rb:56:in `call''
[GEM_ROOT]/gems/actionpack-3.2.3/lib/action_dispatch/routing/route_set.rb:600:in
`call''
[GEM_ROOT]/gems/actionpack-3.2.3/lib/action_dispatch/middleware/best_standards_support.rb:17:in
`call''
[GEM_ROOT]/gems/rack-1.4.1/lib/rack/etag.rb:23:in `call''
[GEM_ROOT]/gems/rack-1.4.1/lib/rack/conditionalget.rb:35:in `call''
[GEM_ROOT]/gems/actionpack-3.2.3/lib/action_dispatch/middleware/head.rb:14:in
`call''
[GEM_ROOT]/gems/actionpack-3.2.3/l...
2011 Dec 05
9
jquery - word is not defined
Just starting out with a beginner book on jquery and the very first thing I am trying fails (has to be me)
Rails 3.1 - other jquery things working including a poor example of drag & drop that is my ultimate target here but just simply trying to get every alternating row in a table to have a different css class
So I''m using...
app/assets/javascripts/people.js.coffee and put in...