this repository is upgradtion of rails 3 code to rails 4