On Tuesday, October 15, 2013 2:24:11 PM UTC-7, Jeremy Evans wrote:
>
> On Tuesday, October 15, 2013 1:59:17 PM UTC-7, Rodrigo Rosenfeld Rosas 
> wrote:
>>
>>  Yes, I agree and I've considered doing this myself too. But I thought it 
>> might be easier to convince you to add a find_or_initialize first ;)
>>
>> I agree that most of the time one would be doing this update_or_create 
>> thing and such API would be very welcomed by me if you are ok with adding 
>> it to core.
>>
>
> While I like the idea of update_or_create better, I still don't think it 
> is common enough to justify adding to core.  It's possible it could be 
> added as a plugin that ships with Sequel.
>

I've added this as one of the plugins that ships with Sequel: 
https://github.com/jeremyevans/sequel/commit/90adfcfb8a4d5254a8452e8e480a5c3e393a7aaf

Thanks,
Jeremy 

-- 
You received this message because you are subscribed to the Google Groups 
"sequel-talk" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/sequel-talk.
For more options, visit https://groups.google.com/groups/opt_out.

Reply via email to