Ah! Thanks Blizz, I was about to check what the difference between :new_key and 
the explicit generation is.

I think the reason you added it, Tom, is the error I explained above :) seems 
to solve it.

Now to the new API, the syntax is much better :) pretty cool


On Fri, Nov 21, 2008 at 07:08:56PM +0000, Tom Locke wrote:
> 
> > Also instead of calling lifecycle.generate_key directly you can do it
> > with :new_key => true
> 
> Ah well spotted. The reason that option was added is that the callback  
> happens *after* the record is saved.
> 
> There's a good reason it happens after. I just wish I could remember  
> what it is at the moment...
> 
> Tom
> 
> 
> 

--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---

Reply via email to