Update Rails to 4.1

Related to #445