search for: save_with_transact

Displaying 3 results from an estimated 3 matches for "save_with_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
2007 Jul 18
3
Help. Acts_as_Authenticated plugin stops working for me?
...9;' C:/Program Files/NetBeans 6.0M10/ruby1/jruby-1.0/lib/ruby/gems/1.8/ gems/activerecord-1.15.3/lib/active_record/transactions.rb:121:in `transaction'' C:/Program Files/NetBeans 6.0M10/ruby1/jruby-1.0/lib/ruby/gems/1.8/ gems/activerecord-1.15.3/lib/active_record/transactions.rb:133:in `save_with_transactions!'' app/controllers/account_controller.rb:28:in `signup'' C:/Program Files/NetBeans 6.0M10/ruby1/jruby-1.0/lib/ruby/gems/1.8/ gems/activerecord-1.15.3/lib/active_record/transactions.rb:101:in `transaction'' C:/Program Files/NetBeans 6.0M10/ruby1/jruby-1.0/lib/ruby/gems/1...
2007 Feb 20
0
transaction is started before a validation [c/o Rails-Core]
...called on an ActiveRecord a transaction is started to catch any potential problems and try and recover from them. This is cool. But.. as a result of the Transaction module being mixed in quite late in the game, the transactions system is one of the *first* things to get initiated.........is the save_with_transaction system intentionally called before the validations system? It seems wasteful to begin the transactions block if the call to #valid? simply returns false at the last minute? Can anyone give me any insight into this system?, and can I start an agrument about allowing validations to occur *before...