ActiveRecord examples for stand-alone uses