Neo4j.rb stores dates as timestamps so you will have to convert your date object into a timestamp.
To convert a date object into a timestamp first convert to utc time and then to integer:
And in your cypher query you are safe to use the comparison operators:
where('post.published_at <= ?', Date.current.to_time(:utc).to_i)