Difference between as_json and to_json method in Ruby : <p>What's the difference between the two methods <code>as_json</code> and <code>to_json</code>. Are they same? If not what's the difference between them?</p>
