Extraced Active Record logic cont.