update 'rails-devise' example application for Rails 4.1