The Ruby and Rails community linklog
Made a library? Written a blog post? Found a useful tutorial? Share it with the Ruby community here or just enjoy what everyone else has found!
Submit a post
Post Preview
Note: Only the first pargraph is shown on the front page and overly long paragraphs may be broken up.
Algorithms behind RuboCop complexity metrics
I published a series on Medium.com, explaining the algorithms behind RuboCop complexity metrics. The third part reveals the mathematical connections between different metrics. The series will help you with configuring cyclomatic complexity, perceived complexity, and, ABC size values for RuboCop analysis, which are not completely random.
ActiveWorkflow v0.9.4 released - agent-based workflow automation platform
We just released ActiveWorkflow v0.9.4, our agent-based workflow and intelligent process automation platform. This release lets you write your own agents in Ruby using a simple API.
tty-box v0.5.0 release
The latest release of tty-box brings: 💎Much improved handling of content that doesn’t require providing any box dimensions. 💎Preconfigured status message boxes - info, warning, success and error. Enjoy!
Why RSpec Test Fail (and How To Fix Them)
Knowing how to troubleshoot tests is an essential software skill. Read full story on Better Programming.
Ruby 2.7 deprecates automatic conversion from a hash to keyword arguments
Ruby 2.7 deprecates automatic conversion from a hash to keyword arguments in preparation for real keyword arguments in Ruby 3.0 Read more
[Screencast] Ruby on Rails Tips and Tricks
Ruby and Ruby on Rails tricks from, dot files, operators, bundling, StimulusJS and more. https://www.driftingruby.com/episodes/ruby-on-rails-tips-and-tricks
How to start with system tests, Rails 5.1+ and Minitest
Quick update on the very few things that are needed to get started with Capybara and system tests, using Minitest. Read more
Visual Studio Code plugins for Ruby
I made a quick list of all the plugins I use for Ruby and Rails development.
Building a CloudFront Cookie Dashboard Using AWS Lambda@Edge, Kinesis, & QuickSight
“Every large consumer-facing #rails app I have worked on has on and off again spikes of cookie overflow issues. It is made infinitely more complex with multiple front end apps. I will be digging into this more over the next couple days.” - Dan Mayer @danmayer
[ANN] Serviz - New minimalistic Command object Interface
🚀 I just published Serviz, a minimal interface to unify and homogenize your Sevice objects in your Ruby code. Links: Read more
Free Simple Rails server monitoring(CPU, RAM, HDD) engine using StatsLite. Standalone
Rails engine to server resource information. Can be also standalone and extendable
HexaPDF 0.10.0 released
I just released the latest version of HexaPDF, the versatile PDF library for Ruby, see for details!
Join us in Salt Lake City for SolidusConf 2019
Rails E-Commerce Conference on October 21-24 Read more
Introducing RuboCop to legacy projects
If you’re working on an old code base that has had no style listing rules in place, received wisdom is that you start by running rubocop --auto-gen-config and revelling in the fact that subsequent runs of rubocop will run green. After years of following that advice myself, I’ve come to believe it’s wrong. The first step in my path to a better relationship between RuboCop and legacy code is now online:
Just released final version of InvoicePrinter 2.0
I just released InvoicePrinter 2.0. Read the little announcement. Submit new feature requests and bugs to GitHub.