base app for rails 4