finish 415: upgrade to rails 4