最佳答案
I have this search in Rails 3:
Note.where(:user_id => current_user.id, :notetype => p[:note_type], :date => p[:date]).order('date ASC, created_at ASC')
But I need the :date => p[:date]
condition to be equivilent to :date > p[:date]
. How can I do this? Thanks for reading.