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 rubyonrails-core@googlegroups.com.
To unsubscribe from this group, send email to 
rubyonrails-core+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/rubyonrails-core?hl=en.

Reply via email to