Ruby on rails + Authentication + Docker + MongoDB Install mongoid: add gem 'mongoid' to Gemfile bundle install Generate the default Mongoid configuration bin/rails g mongoid:config Create model User bin/rails g scaffold User username:string email:string password:string List routes rails routes