Added linear model rails model