search for: clone_attribut

Displaying 6 results from an estimated 6 matches for "clone_attribut".

Did you mean: clone_attributes
2006 May 15
0
Execution expired with MONGREL. No problems with webrick
...action has run for about 2 minutes i always get a timeout. It doesn''t happen with WEBRICK. As far as i can see there is nothing wrong with the code "execution expired RAILS_ROOT: config/.. Application Trace | Framework Trace | Full Trace /opt/tools/lib/ruby/1.8/timeout.rb:54:in `clone_attributes'' /opt/tools/lib/ruby/gems/1.8/gems/activerecord-1.14.2/lib/active_record/base.rb:2068:in `inject'' /opt/tools/lib/ruby/gems/1.8/gems/activerecord-1.14.2/lib/active_record/base.rb:2060:in `clone_attributes'' /opt/tools/lib/ruby/gems/1.8/gems/activerecord-1.14.2/lib/active_...
2006 Nov 04
0
Problems with ActiveRecord, Oracle adapter, find_by_sql, multi-table join - ORA-04043 error
...ems/activerecord-1.14.4/lib/active_record/bas e.rb:1801:in `read_attribute'' from c:/ruby/lib/ruby/gems/1.8/gems/activerecord-1.14.4/lib/active_record/bas e.rb:2067:in `send'' from c:/ruby/lib/ruby/gems/1.8/gems/activerecord-1.14.4/lib/active_record/bas e.rb:2067:in `clone_attribute_value '' from c:/ruby/lib/ruby/gems/1.8/gems/activerecord-1.14.4/lib/active_record/bas e.rb:2061:in `clone_attributes'' from c:/ruby/lib/ruby/gems/1.8/gems/activesupport-1.3.1/lib/active_support/in flector.rb:161:in `inject'' from c:/ruby/lib/ruby/ge...
2008 Feb 25
1
NoMethodError: undefined method `<=>' for :zip:Symbol
.../ruby/gems/1.8/gems/activerecord-2.0.2/lib/ active_record/base.rb:2177:in `sort'' from C:/ruby/lib/ruby/gems/1.8/gems/activerecord-2.0.2/lib/ active_record/base.rb:2177:in `attribute_names'' from C:/ruby/lib/ruby/gems/1.8/gems/activerecord-2.0.2/lib/ active_record/base.rb:2458:in `clone_attributes'' ... Why is the method ''<=>'' being attempted on the zip field? --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send email...
2007 May 31
0
Rails AR/SQLServer Unit Test: [6912] failed (but getting better)
...me'' ./test/../lib/active_record/connection_adapters/sqlserver_adapter.rb:79:in `type_cast'' ./test/../lib/active_record/base.rb:2040:in `read_attribute'' ./test/../lib/active_record/base.rb:2325:in `send'' ./test/../lib/active_record/base.rb:2325:in `clone_attribute_value'' ./test/../lib/active_record/base.rb:2319:in `clone_attributes'' ./test/../lib/active_record/base.rb:2107:in `inject'' ./test/../lib/active_record/base.rb:2318:in `each'' ./test/../lib/active_record/base.rb:2318:in `inject'' ./test...
2005 Aug 02
0
Debugging woes
..._test.rb" but it didn''t work. Anybody know what I can do? /usr/lib/ruby/gems/1.8/gems/activerecord-1.11.0/lib/active_record/base.rb:1427: `allocator undefined for Bignum'' (NoMethodError) from /usr/lib/ruby/gems/1.8/gems/activerecord-1.11.0/lib/active_record/base.rb:1419:in `clone_attributes'' from /usr/lib/ruby/gems/1.8/gems/activerecord-1.11.0/lib/active_record/base.rb:1071:in `attributes'' from /usr/lib/ruby/gems/1.8/gems/activerecord-1.11.0/lib/active_record/base.rb:1291:in `attributes_with_quotes'' from /usr/lib/ruby/gems/1.8/gems/activerecord-1.11.0/l...
2006 Jul 18
1
Saving an ActiveRecord object
I get this error when I try to save an object that extends of ActiveRecord: NoMethodError in TeamController#add_player You have a nil object when you didn''t expect it! The error occured while evaluating nil.keys .... .... #{RAILS_ROOT}/app/models/player.rb:17:in `create_player'' #{RAILS_ROOT}/app/controllers/team_controller.rb:53:in `add_player'' And my Player model