search for: evaluate_method

Displaying 20 results from an estimated 22 matches for "evaluate_method".

2009 Jun 04
1
wrong number of arguments (1 for 0)
...ation.rb:284:in `save_collection_association'' /usr/lib/ruby/gems/1.8/gems/activerecord-2.3.2/lib/active_record/ autosave_association.rb:168:in `autosave_associated_records_for_booking_options'' /usr/lib/ruby/gems/1.8/gems/activesupport-2.3.2/lib/active_support/ callbacks.rb:180:in `evaluate_method'' /usr/lib/ruby/gems/1.8/gems/activesupport-2.3.2/lib/active_support/ callbacks.rb:180:in `evaluate_method'' /usr/lib/ruby/gems/1.8/gems/activesupport-2.3.2/lib/active_support/ callbacks.rb:180:in `instance_eval'' /usr/lib/ruby/gems/1.8/gems/activesupport-2.3.2/lib/active_su...
2008 Aug 21
4
forgery Protection
...cation.rb:24:in `verify_authenticity_token'' /home/dara/apps/ruby-1.8.6/lib/ruby/gems/1.8/gems/activesupport-2.1.0/lib/active_support/callbacks.rb:173:in `send'' /home/dara/apps/ruby-1.8.6/lib/ruby/gems/1.8/gems/activesupport-2.1.0/lib/active_support/callbacks.rb:173:in `evaluate_method'' /home/dara/apps/ruby-1.8.6/lib/ruby/gems/1.8/gems/activesupport-2.1.0/lib/active_support/callbacks.rb:161:in `call'' /home/dara/apps/ruby-1.8.6/lib/ruby/gems/1.8/gems/actionpack-2.1.0/lib/action_controller/filters.rb:430:in `call'' /home/dara/apps/ruby-1.8...
2010 Feb 22
10
Error: "ActionController::InvalidAuthenticityToken"
...npack-2.3.3/lib/action_controller/request_forgery_protection.rb:79:in `verify_authenticity_token'' /usr/lib/ruby/gems/1.8/gems/activesupport-2.3.3/lib/active_support/callbacks.rb:178:in `send'' /usr/lib/ruby/gems/1.8/gems/activesupport-2.3.3/lib/active_support/callbacks.rb:178:in `evaluate_method'' /usr/lib/ruby/gems/1.8/gems/activesupport-2.3.3/lib/active_support/callbacks.rb:166:in `call'' ... ================= Thanks for any help with this! Tom -- Posted via http://www.ruby-forum.com/. -- You received this message because you are subscribed to the Google Groups &quot...
2010 Sep 09
1
NoMethodError in User sessionsController#create
...ogic_ldap/session.rb:251:in `send'' .../vendor/plugins/authlogic_ldap/lib/authlogic_ldap/session.rb:251:in `validate_by_ldap'' .../vendor/rails/activesupport/lib/active_support/callbacks.rb:178:in `send'' .../vendor/rails/activesupport/lib/active_support/callbacks.rb:178:in `evaluate_method'' .../vendor/rails/activesupport/lib/active_support/callbacks.rb:166:in `call'' .../vendor/rails/activesupport/lib/active_support/callbacks.rb:93:in `run'' .../vendor/rails/activesupport/lib/active_support/callbacks.rb:92:in `each'' .../vendor/rails/activesupport/lib...
2009 Jun 13
5
undefined method `valid_password?'
.../enruscats/vendor/plugins/authlogic/lib/authlogic/session/password.rb:177:in `validate_by_password'' /usr/lib/ruby/gems/1.8/gems/activesupport-2.3.2/lib/active_support/callbacks.rb:178:in `send'' /usr/lib/ruby/gems/1.8/gems/activesupport-2.3.2/lib/active_support/callbacks.rb:178:in `evaluate_method'' /usr/lib/ruby/gems/1.8/gems/activesupport-2.3.2/lib/active_support/callbacks.rb:166:in `call'' /usr/lib/ruby/gems/1.8/gems/activesupport-2.3.2/lib/active_support/callbacks.rb:93:in `run'' /usr/lib/ruby/gems/1.8/gems/activesupport-2.3.2/lib/active_support/callbacks.rb:92:in...
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
.../gems/activerecord-2.3.2/lib/active_record/validations.rb:396:in `validates_each'' from /home/joaz/.gem/ruby/1.8/gems/activesupport-2.3.2/lib/active_support/callbacks.rb:182:in `call'' from /home/joaz/.gem/ruby/1.8/gems/activesupport-2.3.2/lib/active_support/callbacks.rb:182:in `evaluate_method'' from /home/joaz/.gem/ruby/1.8/gems/activesupport-2.3.2/lib/active_support/callbacks.rb:166:in `call'' 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...
2009 Feb 21
3
Help w/ rake db:migrate error
....8/gems/actionpack-2.2.2/lib/action_controller/ dispatcher.rb:18:in `define_dispatcher_callbacks'' /Library/Ruby/Gems/1.8/gems/activesupport-2.2.2/lib/active_support/ callbacks.rb:182:in `call'' /Library/Ruby/Gems/1.8/gems/activesupport-2.2.2/lib/active_support/ callbacks.rb:182:in `evaluate_method'' /Library/Ruby/Gems/1.8/gems/activesupport-2.2.2/lib/active_support/ callbacks.rb:166:in `call'' /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:90...
2009 Mar 02
0
Implementing conditional read-only attributes of ActiveRecord objects
...ctly write the attributes while the "normal" user forms will just ignore them. The ":if" option should, like in validations, accept a Proc, String, Symbol or anything the calling object responds to. For validations, this is currently implemented in activesupport/callbacks.rb in evaluate_method(), unfortunately in a private method, so we cannot just call this method. The idea is that I can tell my custom FormBuilder to check for a readonly flag on an AR instance object''s attribute, and set the respective form field to "disabled", so the user experience is consistent. T...
2009 Sep 23
6
Dreamhost launch issues. What gems are used in my rails app?
...ems/actionpack-2.2.2/lib/action_controller/dispatcher.rb 18 in `define_dispatcher_callbacks'' 7 /usr/lib/ruby/gems/1.8/gems/activesupport-2.2.2/lib/active_support/callbacks.rb 182 in `call'' 8 /usr/lib/ruby/gems/1.8/gems/activesupport-2.2.2/lib/active_support/callbacks.rb 182 in `evaluate_method'' 9 /usr/lib/ruby/gems/1.8/gems/activesupport-2.2.2/lib/active_support/callbacks.rb 166 in `call'' 10 /usr/lib/ruby/gems/1.8/gems/activesupport-2.2.2/lib/active_support/callbacks.rb 90 in `run'' 11 /usr/lib/ruby/gems/1.8/gems/activesupport-2.2.2/lib/active_support/callback...
2009 Nov 13
3
Encoding::UTF_8 missing?
...rary/Ruby/Gems/1.8/gems/activerecord-2.3.4/lib/active_record/validations.rb:465:in `validates_each'' /Library/Ruby/Gems/1.8/gems/activesupport-2.3.4/lib/active_support/callbacks.rb:182:in `call'' /Library/Ruby/Gems/1.8/gems/activesupport-2.3.4/lib/active_support/callbacks.rb:182:in `evaluate_method'' /Library/Ruby/Gems/1.8/gems/activesupport-2.3.4/lib/active_support/callbacks.rb:166:in `call'' /Library/Ruby/Gems/1.8/gems/activesupport-2.3.4/lib/active_support/callbacks.rb:90:in `run'' /Library/Ruby/Gems/1.8/gems/activesupport-2.3.4/lib/active_support/callbacks.rb:90:in...
2009 Jan 18
2
InvalidAuthenticityToken error with remote_form_for
...2.2.2/lib/action_controller/request_forgery_protection.rb:86:in `verify_authenticity_token'' /usr/lib/ruby/gems/1.8/gems/activesupport-2.2.2/lib/active_support/callbacks.rb:178:in `send'' /usr/lib/ruby/gems/1.8/gems/activesupport-2.2.2/lib/active_support/callbacks.rb:178:in `evaluate_method'' /usr/lib/ruby/gems/1.8/gems/activesupport-2.2.2/lib/active_support/callbacks.rb:166:in `call'' /usr/lib/ruby/gems/1.8/gems/actionpack-2.2.2/lib/action_controller/filters.rb:225:in `call''.... My form works fine without the ajax call: <% form_for :vendor do |f|...
2010 Nov 05
0
RoR:OSV: Installation issue
.../gems/actionpack-2.3.8/lib/action_controller/ dispatcher.rb:15:in `define_dispatcher_callbacks'' from /var/lib/gems/1.8/gems/activesupport-2.3.8/lib/active_support/ callbacks.rb:182:in `call'' from /var/lib/gems/1.8/gems/activesupport-2.3.8/lib/active_support/ callbacks.rb:182:in `evaluate_method'' from /var/lib/gems/1.8/gems/activesupport-2.3.8/lib/active_support/ callbacks.rb:166:in `call'' from /var/lib/gems/1.8/gems/activesupport-2.3.8/lib/active_support/ callbacks.rb:90:in `run'' from /var/lib/gems/1.8/gems/activesupport-2.3.8/lib/active_support/ callbacks.rb...
2009 Mar 05
7
issue with the object cache
Hi, I am getting a method_missing error when I run my application in the production environment unless I set config.cache_classes = false in config/environments/production.rb. This happens in Rails 2.2.2 but not in Rails 2.1.0. The method that is missing is one I used to have before I edited by hand the migration that creates the table associated with the object (I know you are discouraged to do
2009 Apr 17
0
A frustrating and strange error when config.action_controller.perform_caching = true
...oller/caching/sweeping.rb:65:in `after'' /vendor/rails/actionpack/lib/action_controller/filters.rb:208:in `around_proc'' /vendor/rails/activesupport/lib/active_support/callbacks.rb:182:in `call'' /vendor/rails/activesupport/lib/active_support/callbacks.rb:182:in `evaluate_method'' /vendor/rails/actionpack/lib/action_controller/filters.rb:184:in `call'' /vendor/rails/actionpack/lib/action_controller/filters.rb:635:in `run_before_filters'' /vendor/rails/actionpack/lib/action_controller/filters.rb:615:in `call_filters'' /vendor/...
2010 Feb 06
4
500 Internal Error
I have on ubuntu a digital library application Kete which gives in the log/production.log: Please help, thnx. /!\ FAILSAFE /!\ Fri Feb 05 19:05:08 +0200 2010 Status: 500 Internal Server Error No connection to server (localhost:11211 DEAD (Errno::ECONNREFUSED: Connection refused - connect(2)), will retry at Fri Feb 05 19:05:38 +0200 2010)
2012 Feb 11
1
rake command shows the error
...;' from /usr/lib/ruby/gems/1.8/gems/actionpack-2.3.8/lib/action_controller/dispatcher.rb:15 from /usr/lib/ruby/gems/1.8/gems/activesupport-2.3.8/lib/active_support/callbacks.rb:182:in `call'' from /usr/lib/ruby/gems/1.8/gems/activesupport-2.3.8/lib/active_support/callbacks.rb:182:in `evaluate_method'' from /usr/lib/ruby/gems/1.8/gems/activesupport-2.3.8/lib/active_support/callbacks.rb:166:in `call'' from /usr/lib/ruby/gems/1.8/gems/activesupport-2.3.8/lib/active_support/callbacks.rb:90:in `run'' from /usr/lib/ruby/gems/1.8/gems/activesupport-2.3.8/lib/active_support/...
2010 Mar 22
5
UnitTesting-Action view testcase is failed
...ms/1.8/gems/actionpack-2.3.5/lib/action_view/test_case.rb:59:in `setup_with_controller'' /usr/local/lib/ruby/gems/1.8/gems/activesupport-2.3.5/lib/active_support/callbacks.rb:178:in `send'' /usr/local/lib/ruby/gems/1.8/gems/activesupport-2.3.5/lib/active_support/callbacks.rb:178:in `evaluate_method'' /usr/local/lib/ruby/gems/1.8/gems/activesupport-2.3.5/lib/active_support/callbacks.rb:166:in `call'' /usr/local/lib/ruby/gems/1.8/gems/activesupport-2.3.5/lib/active_support/callbacks.rb:90:in `run'' /usr/local/lib/ruby/gems/1.8/gems/activesupport-2.3.5/lib/active_support/...
2009 Feb 02
2
looking for help with NoMethodError: undefined method `key?' for #<String:0x4795488>
....2/lib/ active_record/fixtures.rb:930:in `setup_fixtures'' C:/InstantRails/ruby/lib/ruby/gems/1.8/gems/activesupport-2.2.2/ lib/active_support/callbacks.rb:178:in `send'' C:/InstantRails/ruby/lib/ruby/gems/1.8/gems/activesupport-2.2.2/ lib/active_support/callbacks.rb:178:in `evaluate_method'' C:/InstantRails/ruby/lib/ruby/gems/1.8/gems/activesupport-2.2.2/ lib/active_support/callbacks.rb:166:in `call'' C:/InstantRails/ruby/lib/ruby/gems/1.8/gems/activesupport-2.2.2/ lib/active_support/callbacks.rb:90:in `run'' C:/InstantRails/ruby/lib/ruby/gems/1.8/...
2010 May 31
0
no such file to load -- /home/path/to/app/config/environment
....8/gems/actionpack-2.1.2/lib/action_controller/ dispatcher.rb:18:in `define_dispatcher_callbacks'' /usr/lib/ruby/gems/1.8/gems/activesupport-2.1.2/lib/active_support/ callbacks.rb:177:in `call'' /usr/lib/ruby/gems/1.8/gems/activesupport-2.1.2/lib/active_support/ callbacks.rb:177:in `evaluate_method'' /usr/lib/ruby/gems/1.8/gems/activesupport-2.1.2/lib/active_support/ callbacks.rb:161:in `call'' /usr/lib/ruby/gems/1.8/gems/activesupport-2.1.2/lib/active_support/ callbacks.rb:90:in `run'' /usr/lib/ruby/gems/1.8/gems/activesupport-2.1.2/lib/active_support/ callbacks.rb:90...