Posted by: Jake Dempsey on: January 19, 2010
This morning I ran into a small roadblock working with the acts_as_state_machine gem. My code started like this: This is a basic example using AASM to provide an approval process for my Communication model. I wanted the ability to just call instance.reject(“some reason”) or instance.reject!(“some reason”). I was really thinking to hard about it. The [...]