some ActiveRecord updates in RoR