sudo apt install zsh-autosuggestions zsh-syntax-highlighting zsh
Rails.application.eager_load! | |
ActiveRecord::Base.descendants # It returns all models and its attributes. | |
ApplicationRecord.descendants.collect(&:name) # It returns only the model names |
require 'fileutils' | |
require 'octokit' | |
require 'ap' | |
ACCOUNT_NAME = "your-user-name" | |
ACCOUNT_TOKEN = "your-api-token" | |
ITEMS_UNDER = "target-user-or-organisation" | |
REPO_ROOT = File.expand_path('../repositories', __FILE__) |