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.
search_cop v1.1.0 released - Search engine like queries for ActiveRecord
New features include default_operator (AND/OR) and postgis support. SearchCop adds fulltext query capabilities to your ActiveRecord models. https://github.com/mrkamel/search_cop
Vienna.rb • Wien.rb - Meetups & Learn Togethers Upcoming in Austria
Hello, If anyone happens to be in Central Europe in Austria you’re invited to join us to meetup with fellow rubyists in a Vienna coffee house every first Tuesday of the month. Upcoming dates include: [more inside]
ActiveWorkflow 0.9.5 released - intelligent process automation platform
We just released ActiveWorkflow 0.9.5, our agent-based workflow and intelligent process automation platform. This release exposes a REST API, letting you interface with the platform programmatically from your own Ruby projects!
New validations look
Versioned and dynamic validations with https://github.com/kvokka/activevalidation [more inside]
Trailblazer tutorial: move business logic from controller - part 2.
This is the next chapter of our trailblazer tutorial. In this part we focus on moving business logic from the fat controller method to our operation, testing it, and handling fail-trail. [more inside]
HOWTO scrape websites with Ruby & Ferrum
This tutorial will show you how to scrape websites with Ruby and Ferrum, a Ruby gem for connecting to Chromium and Google Chrome browsers using the Chrome DevTools Protocol: https://readysteadycode.com/howto-scrape-websites-with-ruby-and-ferrum
Exploring Linux File Locking Mechanisms in Ruby
An exploration of File Locking mechanisms and their pitalls on Linux in Ruby. [more inside]
Shrine 3.0 Released
Shrine 3.0 has been released. It features redesigned versions feature, support for immutable structs, more flexible backgrounding and much more. It also has a brand new website.
Ruby 2.4 comprehensive changelog
I’ve updated the “Ruby Changes” site with Ruby 2.4’s full explained changelog. Despite Ruby 2.4 being “old news”, looking through the detailed list of changes, with justifications and examples, could be useful to discover some features you’ve previously missed, and understanding how language evolves.
Track your performance with my newly open-sourced gem
After using it for years myself, today I open source my SchwadPerformanceLogger gem. It’s lightweight, dead easy but packs a serious punch: [more inside]
A techinque for detecting design mistakes early
SAGE is a design quality assurance technique that can keep your work from becoming more difficult and complicated than it should have been. Looking at your software through the lens of SAGE quadrants can keep you safe from the most common setbacks and slow downs in software projects.
[Gem] TAP Report Parser
This gem parses a TAP report per the specifications listed on https://testanything.org/tap-specification.html. Each of the tests has six attributes: number, description, status, directive, diagnostic and passing.
Configure Your App with SSM Parameter Store
If you’ve ever wanted to have a bit of flexibility over static files when configuring your app via environment variables, you might like this post on how to use SSM Parameter store to do that.
Spree Commerce 4.0 for Rails 6.0 released!
Spree Commerce 4.0 introduces Rails 6.0 support, Address Book support, JSON-LD support. Both the Admin Panel and Storefront were upgraded to utilize Bootstrap 4. In the process, we’ve also introduced hundreds of fixes and performance improvements both for the end-user and developer experience. [more inside]
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.