Articles about Ruby On Rails

Programming Languages That Will Rule the Game in 2018

Most in demand programming languages

2018 is just around the corner and you may wonder what programming languages are going to rock next year? If we make a simple top list based on GitHub programming languages usage statistics, the result won't really surprise you - it would be the same as the past year with C and Java fighting for the first place. We did something different this time.

How to Speed Up Your Tests via :build_stubbed

Speeding up tests via :build_stubbed

Rspec is an awesome thing that was created for ruby community. Most of us write tests. However, sometimes in large projects our test becomes really slow. So, each launch of the test really hurts and it does not meter whether you launch your test before commit/push or on CI. When your test suits pass over 30 minutes  -  something definitely went wrong.

A Simple Way to Decrease Complexity of Routes in Rails

Decrease Complexity of Routes in Rails

Sometimes, when you are working with a large codebase, your routes.rb files grow really fast and become very dirty.

There are several things that make your routes file bigger:

  • Customization of devise;
  • Specific gems that mount additional routes (Active Admin, ActionCable);
  • Sidekiq + SidekiqWeb + Basic authentication;
  • Namespaces with APP or API.
Get in Touch