2.4.1 :010 > c.session.execute("INSERT INTO testing(id, date, key) VALUES (now(), ?, ?);", arguments: [Date.current.to_s, "aaa"])Cassandra::Errors::InvalidError: Expected 4 byte long for date (10) 2.4.1 :011 > c.session.execute("INSERT INTO testing(id, date, key) VALUES (now(), ?, ?);", arguments: [Date.current, "aaa"])ArgumentError: Unable to guess the type of the argument: Tue, 18 Jul 2017
p = c.session.prepare("INSERT INTO testing(id, date, key) VALUES (now(), ?, ?)")
c.session.execute(p, arguments: [Date.current, "aaa"])