Displaying 17 results from an estimated 17 matches for "update_without_timestamps".
2006 Apr 04
6
Oracle Problem. Maybe driver
...record-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/activerecord-1.14.0/lib/active_record/timestamp.rb:39:in
`update''
/opt/tools/lib/ruby/gems/1.8/gems/activerecord-1.14.0/lib/active_record/base.rb:1712:in
`create_or_update_without_callbacks''
/opt/tools/lib/ruby/gems/1.8/gems/activereco...
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
...iverecord-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/activerecord-1.11.0/lib/active_record/timestamp.rb:39:in `update''
from /usr/lib/ruby/gems/1.8/gems/activerecord-1.11.0/lib/active_record/base.rb:1132:in `create_or_update_without_callbacks''
from /usr/lib/ruby/gems/1.8/gems/activerecord...
2006 Nov 20
0
End-of-File Error occured at <except.c>:79 in xraise
...gems/1.8/gems/activerecord-1.14.4/lib/active_record/callbacks.rb:344:in
`callback''
/usr/local/lib/ruby/gems/1.8/gems/activerecord-1.14.4/lib/active_record/callbacks.rb:341:in
`callback''
/usr/local/lib/ruby/gems/1.8/gems/activerecord-
1.14.4/lib/active_record/callbacks.rb:279:in `update_without_timestamps''
/usr/local/lib/ruby/gems/1.8/gems/activerecord-1.14.4/lib/active_record/timestamp.rb:39:in
`update''
/usr/local/lib/ruby/gems/1.8/gems/activerecord-
1.14.4/lib/active_record/base.rb:1718:in
`create_or_update_without_callbacks''
/usr/local/lib/ruby/gems/1.8/gems/activerec...
2007 Jul 24
1
Why can''t find index file sometimes?
...b:333:in
`callback''
#{RAILS_ROOT}/vendor/rails/activerecord/lib/active_record/callbacks.rb:330:in
`each''
#{RAILS_ROOT}/vendor/rails/activerecord/lib/active_record/callbacks.rb:330:in
`callback''
#{RAILS_ROOT}/vendor/rails/activerecord/lib/active_record/callbacks.rb:268:in
`update_without_timestamps''
#{RAILS_ROOT}/vendor/rails/activerecord/lib/active_record/timestamp.rb:48:in
`update''
#{RAILS_ROOT}/vendor/rails/activerecord/lib/active_record/base.rb:1789:in
`create_or_update_without_callbacks''
#{RAILS_ROOT}/vendor/rails/activerecord/lib/active_record/callbacks.rb:242...
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
...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/activerecord-2.3.2/lib/active_record/
timestamp.rb:38:in `update_without_callbacks''
c:/ruby/lib/ruby/gems/1.8/gems/activerecord-2.3.2/lib/active_record/
callbacks.rb:282:in `update''
c:/ruby/lib/ruby/gems/1.8/gems/activerecord-2.3.2/lib/acti...
2006 Feb 22
3
Unit test failure - nil object?
...expected an instance of Array.
The error occured while evaluating nil.+
/usr/local/lib/ruby/gems/1.8/gems/activerecord-1.13.2/lib/active_record/locking.rb:33:in
`update_without_callbacks''
/usr/local/lib/ruby/gems/1.8/gems/activerecord-1.13.2/lib/active_record/callbacks.rb:274:in
`update_without_timestamps''
/usr/local/lib/ruby/gems/1.8/gems/activerecord-1.13.2/lib/active_record/timestamp.rb:39:in
`update''
/usr/local/lib/ruby/gems/1.8/gems/activerecord-1.13.2/lib/active_record/base.rb:1431:in
`create_or_update_without_callbacks''
/usr/local/lib/ruby/gems/1.8/gem...
2006 May 19
2
update_attributes
...s?
The stack trace is below.
Thanks,
Peter
/web/server/pkgs/ruby-1.8.4/lib/ruby/gems/1.8/gems/activerecord-1.14.2/lib/active_record/locking.rb:37:in
`update_without_callbacks''
/web/server/pkgs/ruby-1.8.4/lib/ruby/gems/1.8/gems/activerecord-1.14.2/lib/active_record/callbacks.rb:274:in
`update_without_timestamps''
/web/server/pkgs/ruby-1.8.4/lib/ruby/gems/1.8/gems/activerecord-1.14.2/lib/active_record/timestamp.rb:39:in
`update''
/web/server/pkgs/ruby-1.8.4/lib/ruby/gems/1.8/gems/activerecord-1.14.2/lib/active_record/base.rb:1718:in
`create_or_update_without_callbacks''
/web/serve...
2006 Mar 29
5
MySQL losts connection, can''t refer to User
...iverecord-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/activerecord-1.14.0/lib/active_record/timestamp.rb:39:in
`update''
C:/ruby/lib/ruby/gems/1.8/gems/activerecord-1.14.0/lib/active_record/base.rb:1712:in
`create_or_update_without_callbacks''
C:/ruby/lib/ruby/gems/1.8/gems/activerecord-1.14...
2006 Jan 18
15
Anyone got Globalize working???
.../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/Resources/ports/lib/ruby/gems/1.8/gems/activerecord-1.13.2/lib/active_record/callbacks.rb:274:in
`update_without_timestamps''
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/timestamp.rb:39:in
`update''
from
/Applications/Locomotive/Bundles/rails-1.0.0-min.bundle/Contents/Resources/ports/...
2006 Aug 25
6
End-of-File Error occured at <except.c>:103 in xpop_context
Hi, I get this when searching or adding a new record. I am using today''s
version of trunk and gem ferret 0.10.0
any ideas? thanks!
EOFError in DvbesController#new
End-of-File Error occured at <except.c>:103 in xpop_context
Error occured in store.c:197 - is_refill
current pos = 0, file length = 182
RAILS_ROOT: script/../config/..
Application Trace | Framework Trace | Full
2005 Dec 22
1
How to write unit tests with respect to model callbacks?
...9;
/usr/lib/ruby/gems/1.8/gems/activerecord-1.13.2/lib/active_record/callbacks.rb:348:in
`send'
/usr/lib/ruby/gems/1.8/gems/activerecord-1.13.2/lib/active_record/callbacks.rb:348:in
`callback'
/usr/lib/ruby/gems/1.8/gems/activerecord-1.13.2/lib/active_record/callbacks.rb:275:in
`update_without_timestamps'
/usr/lib/ruby/gems/1.8/gems/activerecord-1.13.2/lib/active_record/timestamp.rb:39:in
`update'
/usr/lib/ruby/gems/1.8/gems/activerecord-1.13.2/lib/active_record/base.rb:1431:in
`create_or_update_without_callbacks'
/usr/lib/ruby/gems/1.8/gems/activerecord-1.13.2/lib/active_re...
2006 Sep 20
3
Unit and Functional Tests Bombing with Ferret
Hello,
I am currently using ferret 0.9.5 and acts_as_ferret 0.2.3 on windows XP
All my unit and functions test that used to work before I installed
ferret are erroring out. My index is on a model name Post, and it looks
like all tests that contains methods which does CRUD to the Post model
bombs out.
Is there anything special I need to do before running unit and
functional test?
Thanks
2006 Oct 16
3
Strange ActiveRecord error popping up
...S_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_record/timestamp.rb:48:in
`update''
#{RAILS_ROOT}/vendor/rails/activerecord/lib/active_record/base.rb:1774:in
`create_or_update_without_callbacks''
#{RAILS_ROOT}/vendor/rails/activerecord/lib/active_record/callbacks.rb:242...
2006 Aug 30
7
Hyphens
Hi there,
I''m working with some legacy data where customer phone numbers are
stored with hyphens between the area code, exchange, and number (e.g.
555-555-5555). Is this the best way to store a phone number? Perhaps
not, but it''s the way they were being stored, so I have to work with
this format.
Right, so when I save a record the log tells me acts_as_ferret indexed
the
2007 Jun 28
1
DRb server crashing
...n `after_update''
[RAILS_ROOT]/vendor/rails/activerecord/lib/active_record/callbacks.rb:352:in
`send''
[RAILS_ROOT]/vendor/rails/activerecord/lib/active_record/callbacks.rb:352:in
`callback''
[RAILS_ROOT]/vendor/rails/activerecord/lib/active_record/callbacks.rb:271:in
`update_without_timestamps''
[RAILS_ROOT]/vendor/rails/activerecord/lib/active_record/timestamp.rb:38:in
`update''
[RAILS_ROOT]/vendor/rails/activerecord/lib/active_record/base.rb:1959:in
`create_or_update_without_callbacks''
[RAILS_ROOT]/vendor/rails/activerecord/lib/active_record/callbacks.rb:...