Answers for "how to use between in active record"

2

how to use between in active record

Client.where(created_at: (Time.now.midnight - 1.day)..Time.now.midnight)
Posted by: Guest on February-15-2020

Browse Popular Code Answers by Language