upgrade to rails 4.1

Signed-off-by: Joshua Paling <joshua.paling@gmail.com>