Displaying 14 results from an estimated 14 matches for "controller_runtime".
2011 Apr 25
3
Active Record database time logging
I''ve been having a look through the code responsible for printing how
much time was spent in Active Record at the end of an action. My
reading of the code + experiments suggests that any database time
after the render is not counted.
It seems to me that in controller_runtime.rb in Active Record,
append_info_to_payload should in fact read
def append_info_to_payload(payload)
super
payload[:db_runtime] = db_runtime +
ActiveRecord::LogSubscriber.reset_runtime
end
Is this just an oversight?
Fred
--
You received this message because you are subscribed to the Google...
2012 Feb 01
6
Does Devise make use of a "status" method? Weird bug.
...npack-3.1.0/lib/action_controller/metal/instrumentation.rb:40:in
`block in render''
vendor/bundle/ruby/1.9.1/gems/actionpack-3.1.0/lib/action_controller/metal/instrumentation.rb:81:in
`cleanup_view_runtime''
vendor/bundle/ruby/1.9.1/gems/activerecord-3.1.0/lib/active_record/railties/controller_runtime.rb:24:in
`cleanup_view_runtime''
vendor/bundle/ruby/1.9.1/gems/actionpack-3.1.0/lib/action_controller/metal/instrumentation.rb:39:in
`render''
app/controllers/application_controller.rb:9:in `status''
Look at that last line -- the status method of the
application_controller...
2013 Mar 24
5
Rails 4.0 has_many_through and fields_for
...enchmark.rb:5:in `ms''
actionpack (4.0.0.beta1) lib/action_controller/metal/instrumentation.rb:41:in `block in render''
actionpack (4.0.0.beta1) lib/action_controller/metal/instrumentation.rb:84:in `cleanup_view_runtime''
activerecord (4.0.0.beta1) lib/active_record/railties/controller_runtime.rb:24:in `cleanup_view_runtime''
actionpack (4.0.0.beta1) lib/action_controller/metal/instrumentation.rb:40:in `render''
actionpack (4.0.0.beta1) lib/action_controller/metal/implicit_render.rb:10:in `default_render''
actionpack (4.0.0.beta1) lib/action_controller/metal/impli...
2012 Jan 23
2
Rails 3.2: invalid %-encoding (100%)
...arameters.rb:33:in
`filtered_parameters''
actionpack (3.2.0)
lib/action_controller/metal/instrumentation.rb:21:in `process_action''
actionpack (3.2.0)
lib/action_controller/metal/params_wrapper.rb:205:in `process_action''
activerecord (3.2.0)
lib/active_record/railties/controller_runtime.rb:18:in
`process_action''
--
You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group.
To post to this group, send email to rubyonrails-talk-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org
To unsubscribe from this group, send email...
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...
2013 Feb 10
0
Nested attributes doesnt get updated
...ve_support/notifications.rb:53:in `instrument''
actionpack (3.1.3) lib/action_controller/metal/instrumentation.rb:29:in `process_action''
actionpack (3.1.3) lib/action_controller/metal/params_wrapper.rb:201:in `process_action''
activerecord (3.1.3) lib/active_record/railties/controller_runtime.rb:18:in `process_action''
actionpack (3.1.3) lib/abstract_controller/base.rb:121:in `process''
actionpack (3.1.3) lib/abstract_controller/rendering.rb:45:in `process''
actionpack (3.1.3) lib/action_controller/metal.rb:193:in `dispatch''
actionpack (3.1.3) lib/action...
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:
2012 Jan 18
3
Cannot redirect to nil!
I need some help please..
when I created web application about books market, i create a cart and
using test the message error appear like this on rake test:functionals
LineItemsControllerTest
> test_should_create_line_item
> ERROR
> Cannot redirect to nil!
and also appear on web side, thats error told that "Cannot redirect to nil!"
Then i was checking the code,
2012 Apr 19
1
active admin undefined method `' for nil:NilClass
...e_support/notifications.rb:123:in
`instrument''
actionpack (3.2.1) lib/action_controller/metal/instrumentation.rb:29:in
`process_action''
actionpack (3.2.1) lib/action_controller/metal/params_wrapper.rb:205:in
`process_action''
activerecord (3.2.1)
lib/active_record/railties/controller_runtime.rb:18:in `process_action''
actionpack (3.2.1) lib/abstract_controller/base.rb:121:in `process''
actionpack (3.2.1) lib/abstract_controller/rendering.rb:45:in `process''
actionpack (3.2.1) lib/action_controller/metal.rb:203:in `dispatch''
actionpack (3.2.1) lib/action...
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
...e_support/notifications.rb:123:in
`instrument''
actionpack (3.2.2) lib/action_controller/metal/instrumentation.rb:29:in
`process_action''
actionpack (3.2.2) lib/action_controller/metal/params_wrapper.rb:205:in
`process_action''
activerecord (3.2.2)
lib/active_record/railties/controller_runtime.rb:18:in `process_action''
actionpack (3.2.2) lib/abstract_controller/base.rb:121:in `process''
actionpack (3.2.2) lib/abstract_controller/rendering.rb:45:in `process''
actionpack (3.2.2) lib/action_controller/metal.rb:203:in `dispatch''
actionpack (3.2.2) lib/action...
2014 Apr 23
0
Something went wrong
...i
on'
2014-04-23T21:35:54.918750+00:00 app[web.1]:
vendor/bundle/ruby/2.0.0/gems/act
ionpack-4.1.0/lib/action_controller/metal/params_wrapper.rb:250:in
`process_acti
on'
2014-04-23T21:35:54.918752+00:00 app[web.1]:
vendor/bundle/ruby/2.0.0/gems/act
iverecord-4.1.0/lib/active_record/railties/controller_runtime.rb:18:in
`process_
action'
2014-04-23T21:35:54.918755+00:00 app[web.1]:
vendor/bundle/ruby/2.0.0/gems/act
ionview-4.1.0/lib/action_view/rendering.rb:30:in `process'
2014-04-23T21:35:54.918756+00:00 app[web.1]:
vendor/bundle/ruby/2.0.0/gems/act
ionpack-4.1.0/lib/action_controller/metal.rb:19...
2012 Apr 24
1
Rails 3 Errno::EAFNOSUPPORT: Address family not supported by protocol - socket(2)
...''
[GEM_ROOT]/gems/actionpack-3.2.3/lib/action_controller/metal/instrumentation.rb:29:in
`process_action''
[GEM_ROOT]/gems/actionpack-3.2.3/lib/action_controller/metal/params_wrapper.rb:205:in
`process_action''
[GEM_ROOT]/gems/activerecord-3.2.3/lib/active_record/railties/controller_runtime.rb:18:in
`process_action''
[GEM_ROOT]/gems/actionpack-3.2.3/lib/abstract_controller/base.rb:121:in
`process''
[GEM_ROOT]/gems/actionpack-3.2.3/lib/abstract_controller/rendering.rb:45:in
`process''
[GEM_ROOT]/gems/actionpack-3.2.3/lib/action_controller/metal.rb:203:in
`dis...
2012 Apr 24
1
Rails 3 Errno::EAFNOSUPPORT: Address family not supported by protocol - socket(2)
...''
[GEM_ROOT]/gems/actionpack-3.2.3/lib/action_controller/metal/instrumentation.rb:29:in
`process_action''
[GEM_ROOT]/gems/actionpack-3.2.3/lib/action_controller/metal/params_wrapper.rb:205:in
`process_action''
[GEM_ROOT]/gems/activerecord-3.2.3/lib/active_record/railties/controller_runtime.rb:18:in
`process_action''
[GEM_ROOT]/gems/actionpack-3.2.3/lib/abstract_controller/base.rb:121:in
`process''
[GEM_ROOT]/gems/actionpack-3.2.3/lib/abstract_controller/rendering.rb:45:in
`process''
[GEM_ROOT]/gems/actionpack-3.2.3/lib/action_controller/metal.rb:203:in
`dis...