Are you instantiating using "User.new" or are you using a creator
function? I recommend creator functions in your case.
The "right" way to have more than one initial state is to have several
creator functions. Or you can have a single creator function where the
:become is set to a proc rather than a symbol.
More info here:
http://cookbook.hobocentral.net/manual/lifecycles#defining_creators
Bryan
Mikkel WF wrote:
Is there any way to manually override the default lifecycle state when
creating an item..?
--
You received this message because you are subscribed to the Google Groups "Hobo
Users" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to
[email protected].
For more options, visit this group at
http://groups.google.com/group/hobousers?hl=en.