active record magic mind blown functionality