ActiveRecord::Base instance to-SQL dumper
Ever needed to generate the SQL for exactly recreating an ActiveRecord::Base instance (like if you accidentally deleted it and need that exact record back to easily restore referential integrity)? Here's an instance method to do that: http://j.mp/1bxZGve
Written by Al Chou
Related protips
Have a fresh tip? Share with Coderwall community!
Post
Post a tip
Best
#Rails
Authors
Sponsored by #native_company# — Learn More
#native_title#
#native_desc#