Skip to content

Instantly share code, notes, and snippets.

Tim Diggins timdiggins

Block or report user

Report or block timdiggins

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
timdiggins / rake_testing_support.rb
Created Mar 20, 2015
testing rake in rspec (etc)
View rake_testing_support.rb
# ./spec/support/rake_testing_support.rb
def invoke_rake_task_in_test(task_name)
require 'rake'
Rails.application.load_tasks if Rake.application.tasks.count < 10
jhass / .rubocop.yml
Last active Feb 16, 2020
My preferred Rubocop config
View .rubocop.yml
RunRailsCops: true
# Commonly used screens these days easily fit more than 80 characters.
Max: 120
# Too short methods lead to extraction of single-use methods, which can make
# the code easier to read (by naming things), but can also clutter the class
You can’t perform that action at this time.