


▶ Multifactor Authentication via Recovery Codes with Rodauth - Rodauth is a solid alternative to Devise, offering many easy-to-configure options, including creating recovery codes. Three Practical Uses of method_missing Worth Knowing - Error handling, method delegation, and building DSLs, in particular. RSpec tends to be the most popular with Rails apps, but it may be worth re-comparing the two approaches.
#RUBYMINE RUBOCOP FULL#
RSpec in Rails - Tabs or spaces? New York or Chicago pizza? Life is full of choices, and testing in Ruby poses yet another in the form of, most commonly, Minitest vs RSpec. Some fun with undef – a way to undefine a method on the fly.įirstRubyFriend is a program, created by the organizer of Brighton Ruby, to bring together early career developers and experienced Rubyists for mentorship. While looking at Sinatra's latest point release (2.2.2) I noticed a lot of activity has been occurring around a future Sinatra 3.0 release – my fingers are crossed! Using a commercial IDE isn't as popular in the Ruby space as in, say, the Go or Java worlds, but plenty of people speak highly of JetBrains' RubyMine and RubyMine 2022.2 has just been released.
#RUBYMINE RUBOCOP HOW TO#
How to Track Down Memory Leaks in Ruby - The first in a two part series on how Ruby handles garbage collection and the basics of how to uncover a leak. Debug without having to recreate, redeploy, or stop the app. RuboCop Serves (Much) Faster - If you use RuboCop and you automatically run it on file changes, this news about a new, faster ‘server mode’ might make your day, and you can use the extra seconds spared to bake a cake to celebrate.ĭebug Ruby Apps in Production Without Stopping Them - Rookout provides developers real-time access to code-level data, logs, traces, and metrics to troubleshoot and debug their cloud-native applications in any environment including production. The two (runnable) examples in this post have us giddy to the possibilities. Tracing Ruby’s (Global) VM Lock - A new instrumentation API in Ruby 3.2 (due out in December) exposes GVL events so you can see what your app’s threads are up to.
