lib/eco/api/microcases/with_each_starter.rb in eco-helpers-1.5.2 vs lib/eco/api/microcases/with_each_starter.rb in eco-helpers-1.5.3
- old
+ new
@@ -17,10 +17,10 @@
micro.with_each(entries, people, options) do |entry, person|
if !person.new? && log_present
session.logger.error("This person (id: '#{person.id}') already exists: #{entry.to_s(:identify)}")
next
end
- staters << person
+ starters << person
yield(entry, person) if block_given?
end
people.newFrom starters
end