update rails to secure version , force secure json