Le 16 mars 2011 à 17:12, Robert Pankowecki a écrit :
> From documentation:
>
> enum.one? [{|obj| block }] → true or false
Yes but how to have @post.uniq? { |x| x.created_at.month } ?
--
Nicolas Cavigneaux
http://www.bounga.org
http://www.cavigneaux.net
--
You received this message because you are subscribed to the Google Groups "Ruby
on Rails: Core" 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-core?hl=en.