Displaying 20 results from an estimated 73 matches for "save_without_transact".
2008 Mar 19
5
object_transactions plugin w/2.x disables AR session store
All,
Win XP
Rails 2.0.2
object_transactions plugin
(http://code.bitsweat.net/svn/object_transactions/)
transaction-simple gem 1.4 (required by object_transactions plugin)
AR SQL Server Adapter 1.0
SQL Server 2000
Using the object_transactions plugin with Rails 2.0.2 (and I assume
based on what I''m seeing that this goes for Rails 2.x) disables the
ability to save to an ActiveRecord based
2006 Aug 15
0
SystemStackError: stack level too deep
...b/active_record/callbacks.rb:330:in
`callback''
from
./script/../config/../config/../vendor/rails/activerecord/lib/active_record/callbacks.rb:296:in
`valid?''
from
./script/../config/../config/../vendor/rails/activerecord/lib/active_record/validations.rb:743:in
`save_without_transactions''
from
./script/../config/../config/../vendor/rails/activerecord/lib/active_record/transactions.rb:120:in
`save_without_validation''
from
./script/../config/../config/../vendor/rails/activerecord/lib/active_record/connection_adapters/abstract/database_statemen...
2011 Dec 01
5
Validation failed: Host already has a report for time and kind
...-22 00:33 GMTValidation
failed: Host already has a report for time and kind
Backtrace
/usr/share/puppet-dashboard/vendor/rails/activerecord/lib/active_record/validations.rb:1102:in
`save_without_dirty!''
/usr/share/puppet-dashboard/vendor/rails/activerecord/lib/active_record/dirty.rb:87:in
`save_without_transactions!''
/usr/share/puppet-dashboard/vendor/rails/activerecord/lib/active_record/transactions.rb:200:in
`save!''
/usr/share/puppet-dashboard/vendor/rails/activerecord/lib/active_record/connection_adapters/abstract/database_statements.rb:136:in
`transaction''
/usr/share/puppet-...
2006 May 04
2
validates* give me problems
...#39;
#{RAILS_ROOT}/vendor/rails/activerecord/lib/active_record/validations.rb:752:in
`valid_without_callbacks''
#{RAILS_ROOT}/vendor/rails/activerecord/lib/active_record/callbacks.rb:306:in
`valid?''
#{RAILS_ROOT}/vendor/rails/activerecord/lib/active_record/validations.rb:723:in
`save_without_transactions''
#{RAILS_ROOT}/vendor/rails/activerecord/lib/active_record/transactions.rb:126:in
`save''
#{RAILS_ROOT}/vendor/rails/activerecord/lib/active_record/connection_adapters/abstract/database_statements.rb:51:in
`transaction''
#{RAILS_ROOT}/vendor/rails/activerecord/lib/act...
2006 Apr 04
6
Oracle Problem. Maybe driver
...ecord-1.14.0/lib/active_record/callbacks.rb:249:in
`create_or_update''
/opt/tools/lib/ruby/gems/1.8/gems/activerecord-1.14.0/lib/active_record/base.rb:1388:in
`save_without_validation''
/opt/tools/lib/ruby/gems/1.8/gems/activerecord-1.14.0/lib/active_record/validations.rb:724:in
`save_without_transactions''
/opt/tools/lib/ruby/gems/1.8/gems/activerecord-1.14.0/lib/active_record/transactions.rb:126:in
`save''
/opt/tools/lib/ruby/gems/1.8/gems/activerecord-1.14.0/lib/active_record/connection_adapters/abstract/database_statements.rb:51:in
`transaction''
/opt/tools/lib/ruby...
2006 Jul 20
1
file_column - assigning with an actual file rather than a multipart
..._record/callbacks.rb:250:in
`create_or_update''
from /usr/local/lib/ruby/gems/1.8/gems/activerecord-1.14.3/lib/active_record/base.rb:1392:in
`save_without_validation''
from /usr/local/lib/ruby/gems/1.8/gems/activerecord-1.14.3/lib/active_record/validations.rb:724:in
`save_without_transactions''
from /usr/local/lib/ruby/gems/1.8/gems/activerecord-1.14.3/lib/active_record/transactions.rb:126:in
`save''
from /usr/local/lib/ruby/gems/1.8/gems/activerecord-1.14.3/lib/active_record/connection_adapters/abstract/database_statements.rb:51:in
`transaction'&...
2006 Aug 25
6
End-of-File Error occured at <except.c>:103 in xpop_context
...ecord-1.14.4/lib/active_record/callbacks.rb:253:in
`create_or_update''
/usr/local/lib/ruby/gems/1.8/gems/activerecord-1.14.4/lib/active_record/base.rb:1392:in
`save_without_validation''
/usr/local/lib/ruby/gems/1.8/gems/activerecord-1.14.4/lib/active_record/validations.rb:736:in
`save_without_transactions''
/usr/local/lib/ruby/gems/1.8/gems/activerecord-1.14.4/lib/active_record/transactions.rb:126:in
`save''
/usr/local/lib/ruby/gems/1.8/gems/activerecord-1.14.4/lib/active_record/connection_adapters/abstract/database_statements.rb:51:in
`transaction''
/usr/local/lib/ruby...
2007 Oct 30
1
Merb - Losing connection to MySQL
....8/gems/activerecord-1.15.5/lib/active_record/callbacks.rb:242:in
`create_or_update''
/usr/lib/ruby/gems/1.8/gems/activerecord-1.15.5/lib/active_record/base.rb:1548:in
`save_without_validation''
/usr/lib/ruby/gems/1.8/gems/activerecord-1.15.5/lib/active_record/validations.rb:752:in
`save_without_transactions''
/usr/lib/ruby/gems/1.8/gems/activerecord-1.15.5/lib/active_record/transactions.rb:129:in
`save''
/usr/lib/ruby/gems/1.8/gems/activerecord-1.15.5/lib/active_record/connection_adapters/abstract/database_statements.rb:59:in
`transaction''
/usr/lib/ruby/gems/1.8/gems/activ...
2006 Jul 14
1
error with Dates in SQL Server
...active_record/
allbacks.rb:249:in `create_or_update''
from ./script/../config/../vendor/rails/activerecord/lib/
active_record/
ase.rb:1392:in `save_without_validation''
from ./script/../config/../vendor/rails/activerecord/lib/
active_record/
alidations.rb:724:in `save_without_transactions''
... 10 levels...
from c:/ruby/lib/ruby/site_ruby/1.8/rubygems/
custom_require.rb:21:in `e
al''
from ./script/../config/../vendor/rails/railties/lib/
commands/runner.rb
27
from c:/ruby/lib/ruby/site_ruby/1.8/rubygems/
custom_require.rb:21...
2009 Feb 21
2
ArgumentError on model create statement
...endor/rails/activerecord/lib/active_record/callbacks.rb:288:in
`valid?''
from
/src/parkassist/paseweb/vendor/rails/activerecord/lib/active_record/validations.rb:1008:in
`save_without_dirty''
from
/src/parkassist/paseweb/vendor/rails/activerecord/lib/active_record/dirty.rb:79:in
`save_without_transactions''
from
/src/parkassist/paseweb/vendor/rails/activerecord/lib/active_record/transactions.rb:179:in
`send''
from
/src/parkassist/paseweb/vendor/rails/activerecord/lib/active_record/transactions.rb:179:in
`with_transaction_returning_status''
from
/src/parkassist/pasew...
2006 Jun 01
4
how can I control when to commit a transaction?
hello
it seems like this question has appeared a few times with no answer:
how do you get rails to issue ''write'' statements (ie ''CREATE/UPDATE'') to
the database without committing each time?
I tried setting
ActiveRecord::Base.connection.begin_db_transaction
before calling any action on my object, but as soon as
myObject.save
or
myObject.update
is called,
2007 Oct 07
1
How to store a Mechanize object in the database?
...cord-1.15.3/lib/active_record/callbacks.rb:242:in
`create_or_update''
from /var/lib/gems/1.8/gems/activerecord-1.15.3/lib/active_record/base.rb:1545:in
`save_without_validation''
from /var/lib/gems/1.8/gems/activerecord-1.15.3/lib/active_record/validations.rb:752:in
`save_without_transactions''
from /var/lib/gems/1.8/gems/activerecord-1.15.3/lib/active_record/transactions.rb:129:in
`save''
from /var/lib/gems/1.8/gems/activerecord-1.15.3/lib/active_record/connection_adapters/abstract/database_statements.rb:59:in
`transaction''
from /var...
2009 Jun 17
2
validates_uniqueness_of fails on STI in Rails 2.3.2
....8/gems/activerecord-2.3.2/lib/active_record/callbacks.rb:315:in
`valid?''
from
/home/joaz/.gem/ruby/1.8/gems/activerecord-2.3.2/lib/active_record/validations.rb:1008:in
`save_without_dirty''
from
/home/joaz/.gem/ruby/1.8/gems/activerecord-2.3.2/lib/active_record/dirty.rb:79:in
`save_without_transactions''
from
/home/joaz/.gem/ruby/1.8/gems/activerecord-2.3.2/lib/active_record/transactions.rb:229:in
`send''
from
/home/joaz/.gem/ruby/1.8/gems/activerecord-2.3.2/lib/active_record/transactions.rb:229:in
`with_transaction_returning_status''
from
/home/joaz/.gem/ruby/1....
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,
2006 Aug 08
1
File upload into Mysql (using lighttpd) problem
...14.1/lib/active_record/callbacks.rb:249:in
`create_or_update''
/usr/local/lib/ruby/gems/1.8/gems/activerecord-1.14.1/lib/active_record/base.rb:1392:in
`save_without_validation''
/usr/local/lib/ruby/gems/1.8/gems/activerecord-1.14.1/lib/active_record/validations.rb:724:in
`save_without_transactions''
/usr/local/lib/ruby/gems/1.8/gems/activerecord-1.14.1/lib/active_record/transactions.rb:126:in
`save''
/usr/local/lib/ruby/gems/1.8/gems/activerecord-1.14.1/lib/active_record/connection_adapters/abstract/database_statements.rb:51:in
`transaction''
/usr/lo...
2006 Apr 03
2
no marshal_dump is defined for class Proc
...lib/active_record/callbacks.rb:248:in
`create_or_update''
D:/apps/xampp/ruby/lib/ruby/gems/1.8/gems/activerecord-1.14.0/lib/active_record/base.rb:1388:in
`save_without_validation''
D:/apps/xampp/ruby/lib/ruby/gems/1.8/gems/activerecord-1.14.0/lib/active_record/validations.rb:724:in
`save_without_transactions''
D:/apps/xampp/ruby/lib/ruby/gems/1.8/gems/activerecord-1.14.0/lib/active_record/transactions.rb:126:in
`save''
D:/apps/xampp/ruby/lib/ruby/gems/1.8/gems/activerecord-1.14.0/lib/active_record/connection_adapters/abstract/database_statements.rb:51:in
`transaction''
D:/ap...
2005 Feb 09
1
[DEFECT] ''validates_inclusion_of'' not working as expected (couldn''t post to Trac as it gave me an error)
...6.0/lib/active_record/validations.rb:337:in
`valid_without_callbacks''
/usr/local/ruby/lib/ruby/gems/1.8/gems/activerecord-1.6.0/lib/active_record/callbacks.rb:294:in
`valid?''
/usr/local/ruby/lib/ruby/gems/1.8/gems/activerecord-1.6.0/lib/active_record/validations.rb:322:in
`save_without_transactions''
/usr/local/ruby/lib/ruby/gems/1.8/gems/activerecord-1.6.0/lib/active_record/transactions.rb:121:in
`save''
/usr/local/ruby/lib/ruby/gems/1.8/gems/activerecord-1.6.0/lib/active_record/transactions.rb:121:in
`transaction''
/usr/local/ruby/lib/ruby/gems/1.8/ge...
2006 Jun 20
2
Problem with "can''t dump anonymous class Class"
...ctiverecord-1.14.2/lib/active_record/validat
ions.rb:752:in `valid_without_callbacks''
C:/Ruby/lib/ruby/gems/1.8/gems/activerecord-1.14.2/lib/active_record/callbac
ks.rb:306:in `valid?''
C:/Ruby/lib/ruby/gems/1.8/gems/activerecord-1.14.2/lib/active_record/validat
ions.rb:723:in `save_without_transactions''
C:/Ruby/lib/ruby/gems/1.8/gems/activerecord-1.14.2/lib/active_record/transac
tions.rb:126:in `save''
C:/Ruby/lib/ruby/gems/1.8/gems/activerecord-1.14.2/lib/active_record/connect
ion_adapters/abstract/database_statements.rb:51:in `transaction''
C:/Ruby/lib/ruby/ge...
2009 Jun 04
1
wrong number of arguments (1 for 0)
....8/gems/activerecord-2.3.2/lib/active_record/
base.rb:2556:in `save_without_validation!''
/usr/lib/ruby/gems/1.8/gems/activerecord-2.3.2/lib/active_record/
validations.rb:1019:in `save_without_dirty!''
/usr/lib/ruby/gems/1.8/gems/activerecord-2.3.2/lib/active_record/
dirty.rb:87:in `save_without_transactions!''
/usr/lib/ruby/gems/1.8/gems/activerecord-2.3.2/lib/active_record/
transactions.rb:200:in
`save__without_trace_ActiveRecord___self_class_name__save''
/usr/lib/ruby/gems/1.8/gems/activerecord-2.3.2/lib/active_record/
connection_adapters/abstract/database_statements.rb:136:in
`t...
2006 Jun 29
1
Newbie: Help Please - Model Validation Error
...by/gems/1.8/gems/activerecord-1.14.2/lib/active_record/callbacks.rb:308:in
`callback''
/usr/local/lib/ruby/gems/1.8/gems/activerecord-1.14.2/lib/active_record/callbacks.rb:308:in
`valid?''
/usr/local/lib/ruby/gems/1.8/gems/activerecord-1.14.2/lib/active_record/validations.rb:723:in
`save_without_transactions''
/usr/local/lib/ruby/gems/1.8/gems/activerecord-1.14.2/lib/active_record/transactions.rb:126:in
`save''
/usr/local/lib/ruby/gems/1.8/gems/activerecord-1.14.2/lib/active_record/connection_adapters/abstract/database_statements.rb:51:in
`transaction''
/usr/local/lib/ruby/g...