fix appel queries
update rails 4.1.7 and config