As usual, you are correct, .run instead of .each :)

Sorry about the SEQUEL instead of Sequel.

Jeremy Swartwood



> Just FYI, SEQUEL (all caps) was a precursor to SQL.  When referring to the 
> ruby library, use Sequel.
>
> Correct.  When you call Dataset#each, the dataset is supposed to return 
> rows, not a Fixnum.
>
> Change line 38 of load_accounts.rb from calling Dataset#each to calling 
> Database#run with the SQL.
>  
> 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 https://groups.google.com/group/sequel-talk.
For more options, visit https://groups.google.com/d/optout.

Reply via email to