search for: endlastmonth

Displaying 1 result from an estimated 1 matches for "endlastmonth".

2008 Mar 06
4
Active Record Question
Hi- Say I am returning some collection of DateTime items and I only want to compare the month. Is there a way to do this directly in the find? Something like this... @coll = Collection.find(:all, :conditions => ["date.month = ?",Time.now.lat_month]) Thanks! --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google