How to write shared_examples in RSpec

Category: Ruby :: Published at: 18.05.2021

We are using shared examples if we have the same assertions inside one file.

This is how we can do it:

Read more

How to check speed of your requests in rails console

Category: Ruby :: Published at: 17.05.2021

If you want to check how fast is your request, and which version of your request will be more optimized, you should use Benchmark tool.

Read more

Rbenv can't change ruby version

Category: Ruby :: Published at: 03.05.2021

What if Rbenv is not changing ruby version, even if everything should work for us?

You can use those two commands to make it work again:

Read more