Open bl4d3 opened 11 years ago
Same issue here, any progress from your end?
I think it's because you made created at an index which converted that field to be a string instead of a diatomite. Hence your datetime is no longer "greater_than" the datetime in the record since it has the "#" appended in front for some reason.
if I do "#Tue, 06 Aug 2013 20:55:21 +0200" > "Tue, 06 Aug 2013 19:34:24 +0200" I get false
What does StatDisplayDynamo.where("created_at.gt" => ("#" + DateTime.now-2.hours.to_s).all give you just to test this theory?
Hi, I have a model called StatDisplayDynamo
with one entry in
but if I query in this way
when
I get no result. Where am i wrong?