[Rails] Re: aasm callback order?

2008-12-02 Thread Teedub
This is a bit more verbose. http://blog.methodmissing.com/2006/11/16/beyond-callbacks-for-complex-model-lifecycles/ On Dec 1, 8:54 pm, Dan Sharp [EMAIL PROTECTED] wrote: Dusty, That may very well be it. I thought it was a longer list, but maybe I'm just remembering the two lists (new vs.

[Rails] Re: aasm callback order?

2008-12-01 Thread dusty
Is this it? http://didcoe.id.au/archives/finite-state-machines-in-rails On Oct 27, 7:55 pm, Danimal [EMAIL PROTECTED] wrote: Thank you, Robert! I'll have to try out foxmarks. I suspect that the problem was PEBKAC... i.e. I probably thought that's a cool page, I should bookmark it and for

[Rails] Re: aasm callback order?

2008-10-27 Thread Robert Zotter
Danimal, Usually the best place to look is the actual source itself. http://github.com/omghax/acts_as_state_machine/tree/master/lib/acts_as_state_machine.rb Looks like this is what you are looking for :entering :entered :exited The entering and exiting methods call the @enter and @exit options

[Rails] Re: aasm callback order?

2008-10-27 Thread Danimal
Robert, I appreciate the fast response. Actually, though, there was a page somewhere that showed the FULL lifecycle of a ruby model that goes through before_save, validation, after_save, and all that along with the AASM transitions when the bang (!) character is included and when enters, exits,

[Rails] Re: aasm callback order?

2008-10-27 Thread Robert Zotter
Ahhh I see. Sorry, Im not familiar with that wiki you are talking about. However I can solve your bookmarking problem if you happen to use Firefox http://www.foxmarks.com/ :) Good luck finding that wiki. -- Robert Zotter Zapient, LLC Ruby on Rails Development and Consulting

[Rails] Re: aasm callback order?

2008-10-27 Thread Danimal
Thank you, Robert! I'll have to try out foxmarks. I suspect that the problem was PEBKAC... i.e. I probably thought that's a cool page, I should bookmark it and for whatever reason did not. Heh. Anyway... anyone else have an inkling about the page/wiki that I'm talking about? Or was it just in a