I should use
["created_at <= ?", @time]
rather than
"created_at <= #{@time}"
This is what I meant actually...
I should use
["created_at <= ?", @time]
rather than
"created_at <= #{@time}"
This is what I meant actually...