Displaying 8 results from an estimated 8 matches for "update_without_lock".
2006 Apr 04
6
Oracle Problem. Maybe driver
...ter.rb:53:in
`attributes_with_quotes_pre_oracle''
/opt/tools/lib/ruby/gems/1.8/gems/activerecord-1.14.0/lib/active_record/connection_adapters/oracle_adapter.rb:53:in
`attributes_with_quotes''
/opt/tools/lib/ruby/gems/1.8/gems/activerecord-1.14.0/lib/active_record/base.rb:1719:in
`update_without_lock''
/opt/tools/lib/ruby/gems/1.8/gems/activerecord-1.14.0/lib/active_record/locking.rb:33:in
`update_without_callbacks''
/opt/tools/lib/ruby/gems/1.8/gems/activerecord-1.14.0/lib/active_record/callbacks.rb:274:in
`update_without_timestamps''
/opt/tools/lib/ruby/gems/1.8/gems...
2008 Dec 20
9
Upgrade to Rails 2 - problem with "save" (MySQL boolean issue?)
I have been working through an upgrade of my 1.2.6 application to
2.2.2.
I am almost there but I have hit a problem with ActiveRecord.
Before the upgrade, the following code was working fine.
def create_root(administrator)
root = create_root_collection(self.pingee_name,
administrator,
2005 Aug 02
0
Debugging woes
...ems/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/lib/active_record/base.rb:1140:in `update_without_lock''
from /usr/lib/ruby/gems/1.8/gems/activerecord-1.11.0/lib/active_record/locking.rb:45:in `update_without_callbacks''
from /usr/lib/ruby/gems/1.8/gems/activerecord-1.11.0/lib/active_record/callbacks.rb:274:in `update_without_timestamps''
from /usr/lib/ruby/gems/1.8/gems/a...
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
2009 Apr 01
1
Erro de update no rails 2.3.2
...aixo:
ArgumentError in RequisicaosController#enviar_rede
wrong number of arguments (3 for 1)
c:/ruby/lib/ruby/gems/1.8/gems/activerecord-2.3.2/lib/active_record/
base.rb:2875:in `attributes_with_quotes''
c:/ruby/lib/ruby/gems/1.8/gems/activerecord-2.3.2/lib/active_record/
base.rb:2875:in `update_without_lock''
c:/ruby/lib/ruby/gems/1.8/gems/activerecord-2.3.2/lib/active_record/
locking/optimistic.rb:81:in `update_without_dirty''
c:/ruby/lib/ruby/gems/1.8/gems/activerecord-2.3.2/lib/active_record/
dirty.rb:146:in `update_without_timestamps''
c:/ruby/lib/ruby/gems/1.8/gems/activer...
2006 Mar 29
5
MySQL losts connection, can''t refer to User
...active_record/connection_adapters/mysql_adapter.rb:185:in
`execute''
C:/ruby/lib/ruby/gems/1.8/gems/activerecord-1.14.0/lib/active_record/connection_adapters/mysql_adapter.rb:200:in
`update''
C:/ruby/lib/ruby/gems/1.8/gems/activerecord-1.14.0/lib/active_record/base.rb:1717:in
`update_without_lock''
C:/ruby/lib/ruby/gems/1.8/gems/activerecord-1.14.0/lib/active_record/locking.rb:33:in
`update_without_callbacks''
C:/ruby/lib/ruby/gems/1.8/gems/activerecord-1.14.0/lib/active_record/callbacks.rb:274:in
`update_without_timestamps''
C:/ruby/lib/ruby/gems/1.8/gems/active...
2006 Jan 18
15
Anyone got Globalize working???
...s/lib/ruby/gems/1.8/gems/activerecord-1.13.2/lib/active_record/connection_adapters/mysql_adapter.rb:195:in
`update''
from
/Applications/Locomotive/Bundles/rails-1.0.0-min.bundle/Contents/Resources/ports/lib/ruby/gems/1.8/gems/activerecord-1.13.2/lib/active_record/base.rb:1436:in
`update_without_lock''
from
/Applications/Locomotive/Bundles/rails-1.0.0-min.bundle/Contents/Resources/ports/lib/ruby/gems/1.8/gems/activerecord-1.13.2/lib/active_record/locking.rb:45:in
`update_without_callbacks''
from
/Applications/Locomotive/Bundles/rails-1.0.0-min.bundle/Contents/...
2006 Oct 16
3
Strange ActiveRecord error popping up
...ndor/rails/activerecord/lib/active_record/connection_adapters/mysql_adapter.rb:224:in
`execute''
#{RAILS_ROOT}/vendor/rails/activerecord/lib/active_record/connection_adapters/mysql_adapter.rb:239:in
`update''
#{RAILS_ROOT}/vendor/rails/activerecord/lib/active_record/base.rb:1781:in
`update_without_lock''
#{RAILS_ROOT}/vendor/rails/activerecord/lib/active_record/locking/optimistic.rb:60:in
`update_without_callbacks''
#{RAILS_ROOT}/vendor/rails/activerecord/lib/active_record/callbacks.rb:267:in
`update_without_timestamps''
#{RAILS_ROOT}/vendor/rails/activerecord/lib/active_r...