search for: run_callbacks

Displaying 20 results from an estimated 44 matches for "run_callbacks".

2008 Jan 16
0
[CruiseControl] RubyOnRails build 8649 failed
...xtures'' ./test/../lib/active_record/fixtures.rb:925:in `setup_fixtures'' ./test/../lib/../../activesupport/lib/active_support/testing/setup_and_teardown.rb:120:in `send!'' ./test/../lib/../../activesupport/lib/active_support/testing/setup_and_teardown.rb:120:in `run_callbacks'' ./test/../lib/../../activesupport/lib/active_support/testing/setup_and_teardown.rb:117:in `each'' ./test/../lib/../../activesupport/lib/active_support/testing/setup_and_teardown.rb:117:in `send'' ./test/../lib/../../activesupport/lib/active_support/testing/setu...
2008 Aug 26
6
Rails deployment issue... no such file or directory - getcwd? huh?
...n `require_dependency'' /vendor/rails/actionpack/lib/action_controller/dispatcher.rb: 141:in `prepare_application'' /vendor/rails/actionpack/lib/action_controller/dispatcher.rb: 178:in `send!'' /vendor/rails/actionpack/lib/action_controller/dispatcher.rb: 178:in `run_callbacks'' /vendor/rails/actionpack/lib/action_controller/dispatcher.rb: 175:in `each'' /vendor/rails/actionpack/lib/action_controller/dispatcher.rb: 175:in `send!'' /vendor/rails/actionpack/lib/action_controller/dispatcher.rb: 175:in `run_callbacks'' /vendor/...
2012 Sep 18
2
undefined method `to_sym' for nil:NilClass
...) lib/active_support/callbacks.rb:405:in `__run_callback'' activesupport (3.2.2) lib/active_support/callbacks.rb:385:in `_run_validate_callbacks'' activesupport (3.2.2) lib/active_support/callbacks.rb:81:in `send'' activesupport (3.2.2) lib/active_support/callbacks.rb:81:in `run_callbacks'' activemodel (3.2.2) lib/active_model/validations.rb:212:in `run_validations!'' activemodel (3.2.2) lib/active_model/validations/callbacks.rb:53:in `run_validations!'' activesupport (3.2.2) lib/active_support/callbacks.rb:403:in `_run__1200818654__validation__4__callbacks...
2011 Jun 12
3
Problem with undefined variable current_user
.../callbacks.rb:436:in `_run__1056153724__process_action__372525482__callbacks'' rake-0.8.7/ruby/1.9.1/gems/activesupport-3.0.3/lib/active_support/callbacks.rb:409:in `_run_process_action_callbacks'' rake-0.8.7/ruby/1.9.1/gems/activesupport-3.0.3/lib/active_support/callbacks.rb:93:in `run_callbacks'' rake-0.8.7/ruby/1.9.1/gems/actionpack-3.0.3/lib/abstract_controller/callbacks.rb:17:in `process_action'' rake-0.8.7/ruby/1.9.1/gems/actionpack-3.0.3/lib/action_controller/metal/instrumentation.rb:30:in `block in process_action'' rake-0.8.7/ruby/1.9.1/gems/activesupport-3.0...
2010 Sep 09
1
NoMethodError in User sessionsController#create
...pport/lib/active_support/callbacks.rb:92:in `each'' .../vendor/rails/activesupport/lib/active_support/callbacks.rb:92:in `send'' .../vendor/rails/activesupport/lib/active_support/callbacks.rb:92:in `run'' .../vendor/rails/activesupport/lib/active_support/callbacks.rb:276:in `run_callbacks'' .../vendor/plugins/authlogic/lib/authlogic/session/callbacks.rb:83:in `validate'' .../vendor/plugins/authlogic/lib/authlogic/session/validation.rb:64:in `valid?'' .../vendor/plugins/authlogic/lib/authlogic/session/existence.rb:65:in `save'' .../app/controllers/user...
2012 Apr 24
1
Rails 3 Errno::EAFNOSUPPORT: Address family not supported by protocol - socket(2)
...#39; [GEM_ROOT]/gems/activesupport-3.2.3/lib/active_support/callbacks.rb:405:in `__run_callback'' [GEM_ROOT]/gems/activesupport-3.2.3/lib/active_support/callbacks.rb:385:in `_run_process_action_callbacks'' [GEM_ROOT]/gems/activesupport-3.2.3/lib/active_support/callbacks.rb:81:in `run_callbacks'' [GEM_ROOT]/gems/actionpack-3.2.3/lib/abstract_controller/callbacks.rb:17:in `process_action'' [GEM_ROOT]/gems/actionpack-3.2.3/lib/action_controller/metal/rescue.rb:29:in `process_action'' [GEM_ROOT]/gems/actionpack-3.2.3/lib/action_controller/metal/instrumentation.rb:3...
2012 Apr 24
1
Rails 3 Errno::EAFNOSUPPORT: Address family not supported by protocol - socket(2)
...#39; [GEM_ROOT]/gems/activesupport-3.2.3/lib/active_support/callbacks.rb:405:in `__run_callback'' [GEM_ROOT]/gems/activesupport-3.2.3/lib/active_support/callbacks.rb:385:in `_run_process_action_callbacks'' [GEM_ROOT]/gems/activesupport-3.2.3/lib/active_support/callbacks.rb:81:in `run_callbacks'' [GEM_ROOT]/gems/actionpack-3.2.3/lib/abstract_controller/callbacks.rb:17:in `process_action'' [GEM_ROOT]/gems/actionpack-3.2.3/lib/action_controller/metal/rescue.rb:29:in `process_action'' [GEM_ROOT]/gems/actionpack-3.2.3/lib/action_controller/metal/instrumentation.rb:3...
2013 Feb 10
0
Nested attributes doesnt get updated
...upport (3.1.3) lib/active_support/callbacks.rb:425:in `_run__486895298054507173__process_action__168722878175211407__callbacks'' activesupport (3.1.3) lib/active_support/callbacks.rb:386:in `_run_process_action_callbacks'' activesupport (3.1.3) lib/active_support/callbacks.rb:81:in `run_callbacks'' actionpack (3.1.3) lib/abstract_controller/callbacks.rb:17:in `process_action'' actionpack (3.1.3) lib/action_controller/metal/rescue.rb:17:in `process_action'' actionpack (3.1.3) lib/action_controller/metal/instrumentation.rb:30:in `block in process_action'' activ...
2009 Jun 13
5
undefined method `valid_password?'
...39;' /usr/lib/ruby/gems/1.8/gems/activesupport-2.3.2/lib/active_support/callbacks.rb:92:in `send'' /usr/lib/ruby/gems/1.8/gems/activesupport-2.3.2/lib/active_support/callbacks.rb:92:in `run'' /usr/lib/ruby/gems/1.8/gems/activesupport-2.3.2/lib/active_support/callbacks.rb:276:in `run_callbacks'' /home/cocozz/dev/enruscats/vendor/plugins/authlogic/lib/authlogic/session/callbacks.rb:71:in `validate'' /home/cocozz/dev/enruscats/vendor/plugins/authlogic/lib/authlogic/session/validation.rb:62:in `valid?'' /home/cocozz/dev/enruscats/vendor/plugins/authlogic/lib/authlogi...
2009 Aug 02
13
NoMethodError in User sessionsController#create - Authlogic
Hi, I''m beginner in rails, and I wanted to add to my simple application Authlogic. So I''ve watched http://railscasts.com/episodes/160-authlogic and step-by-step done everything. And almost everything works fine, except login in. After registration new user is automatically logged in, he can edit his profile, but after clicking logout and trying to login again I get error
2009 Jun 17
2
validates_uniqueness_of fails on STI in Rails 2.3.2
....gem/ruby/1.8/gems/activesupport-2.3.2/lib/active_support/callbacks.rb:90:in `send'' from /home/joaz/.gem/ruby/1.8/gems/activesupport-2.3.2/lib/active_support/callbacks.rb:90:in `run'' from /home/joaz/.gem/ruby/1.8/gems/activesupport-2.3.2/lib/active_support/callbacks.rb:276:in `run_callbacks'' from /home/joaz/.gem/ruby/1.8/gems/activerecord-2.3.2/lib/active_record/validations.rb:1029:in `valid_without_callbacks?'' from /home/joaz/.gem/ruby/1.8/gems/activerecord-2.3.2/lib/active_record/callbacks.rb:315:in `valid?'' from /home/joaz/.gem/ruby/1.8/gems/activer...
2013 Mar 24
5
Rails 4.0 has_many_through and fields_for
...#39;' actionpack (4.0.0.beta1) lib/abstract_controller/callbacks.rb:18:in `block in process_action'' activesupport (4.0.0.beta1) lib/active_support/callbacks.rb:413:in `_run__68927184__process_action__callbacks'' activesupport (4.0.0.beta1) lib/active_support/callbacks.rb:78:in `run_callbacks'' actionpack (4.0.0.beta1) lib/abstract_controller/callbacks.rb:17:in `process_action'' actionpack (4.0.0.beta1) lib/action_controller/metal/rescue.rb:29:in `process_action'' actionpack (4.0.0.beta1) lib/action_controller/metal/instrumentation.rb:31:in `block in process_acti...
2010 Dec 02
7
Rails 3 + Authlogic not working all of a sudden
...cookies.rb:117:in `save_cookie'' from /usr/local/rvm/gems/ruby-1.9.2-p0/gems/activesupport-3.0.0/lib/active_support/callbacks.rb:414:in `_run_after_save_callbacks'' from /usr/local/rvm/gems/ruby-1.9.2-p0/gems/activesupport-3.0.0/lib/active_support/callbacks.rb:93:in `run_callbacks'' from /usr/local/rvm/gems/ruby-1.9.2-p0/gems/authlogic-2.1.6/lib/authlogic/session/callbacks.rb:87:in `after_save'' from /usr/local/rvm/gems/ruby-1.9.2-p0/gems/authlogic-2.1.6/lib/authlogic/session/existence.rb:71:in `save'' from (irb):19 fro...
2009 Jun 04
1
wrong number of arguments (1 for 0)
...' /usr/lib/ruby/gems/1.8/gems/activesupport-2.3.2/lib/active_support/ callbacks.rb:92:in `send'' /usr/lib/ruby/gems/1.8/gems/activesupport-2.3.2/lib/active_support/ callbacks.rb:92:in `run'' /usr/lib/ruby/gems/1.8/gems/activesupport-2.3.2/lib/active_support/ callbacks.rb:276:in `run_callbacks'' /usr/lib/ruby/gems/1.8/gems/activerecord-2.3.2/lib/active_record/ callbacks.rb:344:in `callback'' /usr/lib/ruby/gems/1.8/gems/activerecord-2.3.2/lib/active_record/ callbacks.rb:283:in `update'' /usr/lib/ruby/gems/1.8/gems/activerecord-2.3.2/lib/active_record/ base.rb:2868:...
2009 Feb 21
3
Help w/ rake db:migrate error
...' /Library/Ruby/Gems/1.8/gems/activesupport-2.2.2/lib/active_support/ callbacks.rb:90:in `send'' /Library/Ruby/Gems/1.8/gems/activesupport-2.2.2/lib/active_support/ callbacks.rb:90:in `run'' /Library/Ruby/Gems/1.8/gems/activesupport-2.2.2/lib/active_support/ callbacks.rb:277:in `run_callbacks'' /Library/Ruby/Gems/1.8/gems/rails-2.2.2/lib/initializer.rb:559:in `send'' /Library/Ruby/Gems/1.8/gems/rails-2.2.2/lib/initializer.rb:559:in `prepare_dispatcher'' /Library/Ruby/Gems/1.8/gems/rails-2.2.2/lib/initializer.rb:173:in `process'' /Library/Ruby/Gems/1.8/gem...
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,
2010 Jun 29
0
Rails 3 and ActiveSupport::Callbacks
...: require ''active_support'' class Foo include ActiveSupport::Callbacks define_callbacks :handle_response set_callback :handle_response, :after do |response| # play with the response end # some stuff... def list_users run_callbacks :handle_response do # this request returns a response @someapi.get("/some/resource") end end end # run Foo.new.list_users Currently, in place of |response|, I have |object| as the doc suggests, which is the class object at runtime. AS callba...
2012 Apr 19
1
active admin undefined method `' for nil:NilClass
...9__process_action__775442107__callbacks'' activesupport (3.2.1) lib/active_support/callbacks.rb:405:in `__run_callback'' activesupport (3.2.1) lib/active_support/callbacks.rb:385:in `_run_process_action_callbacks'' activesupport (3.2.1) lib/active_support/callbacks.rb:81:in `run_callbacks'' actionpack (3.2.1) lib/abstract_controller/callbacks.rb:17:in `process_action'' actionpack (3.2.1) lib/action_controller/metal/rescue.rb:29:in `process_action'' actionpack (3.2.1) lib/action_controller/metal/instrumentation.rb:30:in `block in process_action'' activ...
2009 Sep 23
6
Dreamhost launch issues. What gems are used in my rails app?
.../usr/lib/ruby/gems/1.8/gems/activesupport-2.2.2/lib/active_support/callbacks.rb 90 in `send'' 13 /usr/lib/ruby/gems/1.8/gems/activesupport-2.2.2/lib/active_support/callbacks.rb 90 in `run'' 14 /usr/lib/ruby/gems/1.8/gems/activesupport-2.2.2/lib/active_support/callbacks.rb 277 in `run_callbacks'' 15 /usr/lib/ruby/gems/1.8/gems/rails-2.2.2/lib/initializer.rb 559 in `send'' 16 /usr/lib/ruby/gems/1.8/gems/rails-2.2.2/lib/initializer.rb 559 in `prepare_dispatcher'' 17 /usr/lib/ruby/gems/1.8/gems/rails-2.2.2/lib/initializer.rb 173 in `process'' 18 /usr...
2010 Nov 15
0
Problem testing Authlogic UserSession
....rb:414:in `_run_before_save_callbacks'' from /Users/martin/.rvm/gems/ruby-1.8.7-p302 at pta3/gems/ activesupport-3.0.1/lib/active_support/callbacks.rb:93:in `send'' from /Users/martin/.rvm/gems/ruby-1.8.7-p302 at pta3/gems/ activesupport-3.0.1/lib/active_support/callbacks.rb:93:in `run_callbacks'' from /Users/martin/.rvm/gems/ruby-1.8.7-p302 at pta3/gems/ authlogic-2.1.6/lib/authlogic/session/callbacks.rb:83:in `before_save'' from /Users/martin/.rvm/gems/ruby-1.8.7-p302 at pta3/gems/ authlogic-2.1.6/lib/authlogic/session/existence.rb:68:in `save'' from (irb):9 I...