On Jun 3, 4:18 pm, David Kelso <[email protected]> wrote:
> Hi all,
>
> I've added a block parameter to find_or_create. Here's the 
> commithttp://github.com/zaius/sequel/commit/a327f89def766212dc6632983930836...
>
> Just wondering whether this is the kind of thing that would be
> accepted? If so, I'll jump on updating docs and tests.

I think it's a good idea, so update the docs and add specs for it,
then send me a pull request.

> Speaking of that, this is my first patch to sequel. Is there a guide
> to testing / doc practices somewhere?

There isn't.  Just grep to find where find_or_create is specced (spec/
model/model_spec.rb line 276 in this case), and add the appropriate
specs there.

Jeremy

-- 
You received this message because you are subscribed to the Google Groups 
"sequel-talk" 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/sequel-talk?hl=en.

Reply via email to