update to rails 4.1.8

update secret token to use new rails convention for secrets,
update db schema