- Neovim (Obviously !!)
- Telescope
- LSP (SolarGraph + RuboCop)
- Harpoon + Hop
- Fugitive
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
class Customer | |
attr_reader :name, :rentals | |
def initialize(name) | |
@name = name | |
@rentals = [] | |
end | |
def add_rental(arg) | |
@rentals << arg |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
let mapleader="," | |
set encoding=utf-8 | |
set hidden | |
set nowritebackup |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
BANNER_MIN_HEIGHT = 500 | |
BANNER_MIN_WIDTH = 1700 | |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
run_reports: { all: true, domo: true, legacy: true, dynamic: false}, |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# frozen_string_literal: true | |
module Setup::React | |
def activities_links | |
[ | |
channels_link, | |
activity_series_nav_link, | |
campaign_templates_nav_link, | |
campaigns_nav_link, |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
actions = Act.where(brand_id: brand_id) | |
.joins(:campaign) | |
.includes(:act_requirements, campaign: :channel) | |
.without_deleted |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
describe "When updating privacy policy on an non defult locale" do | |
let(:brand) { create(:brand, :with_legal_documents, text_translations: { "en-US" => "en US", "en-AU" => "en AU"}) } | |
let(:privacy_policy_attributes) do | |
{ "0" => | |
{ | |
"id" => brand.current_privacy_policy.id, | |
"text_translations" => { "en-AU" => "en-AU updated" }, | |
"document_type" => "privacy_policy" | |
} | |
} |
NewerOlder