Example now uses find_each instead of find(:all).each #241

Closed
wants to merge 1 commit into from

2 participants

@mnaberez

Changed the example code output by the runner command to use find_each instead of find(:all).each.

@joshk

I think it might be better to use Product.all.each instead of find_each as this is only meant to be example code and not efficient production ready.

@mnaberez mnaberez closed this Apr 3, 2011
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment