upgrade to rails 4, devise 3, ruby 2.1