nathanfish.com

ecommerce, saas, and small business

Tag archive for ‘Rails’

Ruby Rails AASM gotcha

Maybe it’s in the documentation, I’m not sure. However, I spent way to much time trying to figure out why every time I saved my model it went back to the initial AASM state. Seems the event I had defined :update conflicts with rails own activity, so every time I updated the model, it went [...]