Peter De Berdt wrote in post #1034916:
>
> Since you're pushing objects into an array, you can just "uniq!" it:
> http://www.ruby-doc.org/core-1.9.3/Array.html#method-i-uniq-21

thank you for the answer.

where should I set the "uniq!" exactly ?

rgeards
Dani

-- 
Posted via http://www.ruby-forum.com/.

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

Reply via email to