title: Convert a string to type timestamp in rails
body: <p>I have the following string <code>2012-7-31 09:38:00.000000</code> which I want to convert to type timestamp (without time zone) in <em>PGadmin</em>. Which methods in ruby can get the job done?</p>
  
  <p>Thanks</p>