I'm also surprised that the prepare method is missing. Surely in a common ActiveRecord and Mysql2 setup, ActiveRecord must be escaping the strings rather then using libmysql, which I find a tiny bit worrying.
In the meantime, you can use https://github.com/brianmario/mysql2/tree/stmt