active record tweaks