[Rails] Re: ActiveRecord::Base.transaction - SystemStackError - stack level too deep:

2013-06-24 Thread Bob O
Thanks Matt. That was the problem. At one point I had pulled those out, or at least I thought I did. I guess thats why I was confused. Anyway. Thanks For the help. I do have Michaels stuff. Its very good. My setters were a rookie mistake. One thing that I wish i could find more stuff about is

[Rails] Re: ActiveRecord::Base.transaction - SystemStackError - stack level too deep:

2013-06-24 Thread Matt Jones
On Sunday, 23 June 2013 20:22:26 UTC-7, Bob O wrote: > > This is the TransactionAttributes > > module TransactionAttributes > > def success > success > end > > def success=(success) > self.success = success > end > That's the problem right there - this method is calling itself. I

[Rails] Re: ActiveRecord::Base.transaction - SystemStackError - stack level too deep:

2013-06-23 Thread Bob O
This is the TransactionAttributes module TransactionAttributes def success success end def success=(success) self.success = success end def errors errors end def errors=(errors) self.errors = errors end end The reason for these was i was trying to set a property on

[Rails] Re: ActiveRecord::Base.transaction - SystemStackError - stack level too deep:

2013-06-23 Thread Matt Jones
On Saturday, 22 June 2013 16:06:54 UTC-7, Bob O wrote: > > Im having an issue that seems to only happen when trying to use a > transaction. Ive used transactions many times in the past and Im at a loss > as to why im getting the stack level too deep problem. > > SystemStackError - stack level t