News
RailsConf 2018
The RailsConf 2018 schedule is out ! There is a lot happening in just three days. Don’t miss out on workshops, sessions, and sponsored events!
Learning
Ruby 2.5 adds Exception#full_message method
Before Ruby 2.5, if we wanted to log a caught exception, we would need to format it ourselves.
But from this version, It has been proposed to add the Exception#full_message
method to print the caught exception using the same format that Ruby uses while printing an uncaught exception.
4 ways to refactor and speed up RSpec tests
This article will focus on improving tests in two ways:
- refactoring common parts of the test suite that are repeated many times
- speeding up the test suite by reducing database requests.
Inspecting Ruby Gems
Have you ever needed inspecting a gem in your local machine?
For example, you need to figure out how a method works, to check the internal state or just out of curiosity.
This article describe 2 techniques to do so.
Rails and StimulusJS by Basecamp
In this article the author tries to demonstrate how to integrate existing Rails unobtrusive javascript (rails-ujs
) patterns with the new Stimulus javascript framework by Basecamp.
For illustration he implements a simple comments page.
Videos
How are Method Calls Formed? by Aaron Patterson
In this presentation Tenderlove studies how method calls are executed. He'll go from bytecode created by Ruby's Virtual Machine down to the C code where the methods actually get executed.
Aside
Top 10 Ruby on Rails Development Companies
Here is the best 10 Ruby on Rails Development Company for your business.
You’re not changing the world
Your mere existence is bound to change some of it somewhat. But that’s not what the unironic use of the phrase — WE ARE CHANGING THE WORLD — is meant to convey in Silicon Valley. They’re actually serious.