Convert a string to type timestamp in rails
===

I have the following string "2012-7-31 09:38:00.000000" which I want to convert to type timestamp (without time zone) so I can store it in my database. Which methods in ruby can get the job done?

Thanks