Roland Mai wrote:

> I think I got the user creation to work by commenting out the
> 
> User.transaction(@user) do
> 
> After reading about transactions on api.rubyonrails.com it didn't make
> much sense why one would have a transaction there because there is only
> transaction. I did the same for the sign up which is in the
> user_controller.rb in login_engine and it worked too...
> 
> Oh, I wish that I could have found that out earlier...

I can confirm that on a Win2K box with mongrel running as a Win32 
service, I was having problems with any code whatsoever on Rails 1.1.6 
and the latest release of user_engine touching transactions. I had to 
remove transaction code from 
login_engine/app/controllers/user_controller.rb as well, and I saw the 
effects on ALL actions involving transaction - deleting users, editing 
roles, changing password, etc.

All fixed since removing the transaction code.

-- 
Posted via http://www.ruby-forum.com/.
_______________________________________________
engine-users mailing list
[email protected]
http://lists.rails-engines.org/listinfo.cgi/engine-users-rails-engines.org

Reply via email to