Active realtion and CRUD