Monday, 24 July 2017


If you want to keep your code maintainable, secure and optimized, take a look at some gems that have been doing the job for me:

1. TRACEROUTE

gem 'rack-mini-profiler'

2. RACK-MINI-PROFILER

gem 'memory_profiler'
# For call-stack profiling flamegraphs (requires Ruby MRI 2.0.0+)
gem 'flamegraph'
gem 'stackprof'     # For Ruby MRI 2.1+
gem 'fast_stack'    # For Ruby MRI 2.0

3. BULLET

gem 'bullet', group: 'development'

4. BRAKEMAN

gem 'brakeman', :require => false

5. DEADWEIGHT

gem 'colored'
gem 'deadweight', :require => 'deadweight/hijack/rails'

6. RAILS BEST PRACTICES

rails_best_practices .

7. RUBYCRITIC

gem "rubycritic", :require => false


def full_name
    puts "Johnnie Walker"
  end

  alias_method :name, :full_name

1 comment: