Applying Active record model

change ```new``` in lower case