Comment the line model: user in app/controllers/application.rb

run rake rails:update in the openseradmin root directory