I am trying to get transactions to work because I need to save the @event so I can assign the given @event.id to its dependents.
I have raise ActiveRecord::Rollback, but it doesn't do anything. I know it hits it too because it displays the :notice entered befor that. Another problem I found online was not raising an exception. I started to use save! to throw an exception. This gives me an exception ActiveRecord::RecordInvalid and when i rescue the exception it doesn't rollback. Im grateful for any help or ideas thank you.
NOTE: The second half of this transaction is what to do if the @EVENT already exists. I have not debugged that part yet because the event is never going to exist until I can get this transaction working