I have to find the record depending upon their updated_at column. For this I am comparing updated_at with todays date. I tired in following ways but it wont worked
todays_date = Date.today.strftime("%m/%d/%Y")obj = MyClass.where(:updated_at.strftime("%m/%d/%Y")=> todays_date )
But it is not working. How can I do this?