From 81fb71f0510a5464634a65d97939f6fa54f419dd Mon Sep 17 00:00:00 2001 From: hellekin Date: Mon, 5 Oct 2020 21:40:05 +0200 Subject: Use pry and bitfields Pry is a great console enhancement for development. You can navigate through code and object with `cd` and `ls`, or use `show-method foo` to see how it's written... Bitfields allow to store multiple flags in an efficient integer. It will be used to keep track of a User's roles within an Agent. Pry: https://pry.github.io/ Pry-Rails: https://github.com/rweng/pry-rails Bitfields: https://github.com/grosser/bitfields --- Gemfile | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'Gemfile') diff --git a/Gemfile b/Gemfile index cbe2487..882905b 100644 --- a/Gemfile +++ b/Gemfile @@ -23,18 +23,23 @@ gem 'jbuilder', '~> 2.7' # Use Active Storage variant # gem 'image_processing', '~> 1.2' +# Use bitfields in models +gem 'bitfields' + # Reduces boot times through caching; required in config/boot.rb gem 'bootsnap', '>= 1.4.2', require: false group :development, :test do # Call 'byebug' anywhere in the code to stop execution and get a debugger console gem 'byebug', platforms: [:mri, :mingw, :x64_mingw] + gem 'pry' end group :development do # Access an interactive console on exception pages or by calling 'console' anywhere in the code. gem 'web-console', '>= 3.3.0' gem 'listen', '~> 3.2' + gem 'pry-rails' # Spring speeds up development by keeping your application running in the background. Read more: https://github.com/rails/spring gem 'spring' gem 'spring-watcher-listen', '~> 2.0.0' -- cgit v1.2.3