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.
Object Marshalling in Ruby
Feel free to have a look at my latest article as a guest author for AppSignal and their RubyMagic blog here: [more inside]
Pong - A basic uptime monitoring system, with email alerts and/or push notifications
Pong is a batteries included, dockerized Rails application that is easy to setup and run. [more inside]
Ruby popularity, usage and average Ruby developer salary globally
Take a look at the research we came up with at https://mobilunity.com/blog/hire-ruby-developers/ to find out more on Ruby and Ruby developers.
Sail 3.1.0 released!
Check it out here: https://github.com/vinistock/sail [more inside]
Two niceties about Ruby Structs
Ruby Structs have been around since forever but I recently learned a couple of things that made me love them even more. [more inside]
Truemail - configurable plain Ruby email validator
Performing email addresses validation via regex pattern, presence of domain mx-records and real existence of email account. https://github.com/rubygarage/truemail
safestruct (Safe Data Structures) v1.3 Adds Auto-Generated Unicode Class Names
Hello, Did you know? Yes, you can use unicode (utf-8) characters in your identifiers.
The safestruct (safe data structures) library auto-generates unicode class constants / names for pretty printing and more. Examples: Array‹Array‹Integer›×3›×3 or Hash‹String→Hash‹String→Integer›› and so on. Happy coding with (secure) ruby.
Helix: Improve the Performance of Rails with Rust
Use the Rust ecosystem in your Rails project: https://headway.io/blog/helix-improve-the-performance-of-rails-with-rust/ [more inside]
New features in Rails 6: Multiple databases, parallel tests, Action Mailbox and more
With the release of Rails 6 on the horizon, we examine the framework’s new features piece by piece: https://prograils.com/posts/new-features-rails-6-multiple-databases-parallel-tests-action-mailbox-etc/
Using Que instead of Sidekiq
A comparison between Que and Sidekiq for processing background jobs: https://www.petekeen.net/using-que-instead-of-sidekiq
Testing Ruby on Rails Migrations
Is testing Ruby on Rails migrations possible? Does it make sense? In this blog post, we explore a way to test migrations that have been actually used in a PR submitted on Solidus, an open source eCommerce platform based on Ruby on Rails. Read the article HERE!
How Ruby 2.6 allowed me to do another open source contribution
Thanks to Ruby 2.6.0 release and my another open source contribution, httparty gem started to support setting HTTP write timeout. Enjoy! https://frontdeveloper.pl/2019/03/how-ruby-2-6-allowed-me-to-do-another-open-source-contribution
An RSpec time issue (and it’s not due to timezones)
An investigation into why a test fails only 30 minutes per day. https://medium.com/@dvandersluis/an-rspec-time-issue-and-its-not-about-timezones-a89bbd167b86
Zero configure Dockerfile for Rails
The bankai-docker generate Dockerfile for your Rails project without any configuring. https://github.com/5xRuby/bankai-docker
Tech Book Face Off: Rails AntiPatterns Vs. The Rails 5 Way
In taking a look at two Ruby on Rails books, I found that even when dealing with modern frameworks, older books can still be more useful than new ones. https://sam-koblenski.blogspot.com/2019/03/tech-book-face-off-rails-antipatterns.html
Action Cable vs. malloc_trim
Yet another Ruby memory usage benchmark, but this time from the Action Cable point of view:
Jekyll 4.0.0 Upcoming! First Alpha Pre-Release Out! Faster Built Times And Much More
Hello, thanks to Frank Taillandier (@DirtyF) and friends for the latest (and greatest) updates. Jekyll 4.0.0 Upcoming! First Alpha Pre-Release Out! Faster Built Times (Thanks to Caching and More), Many Bug Fixes & Updates and Much More. What’s Jekyll? The World’s #1 (Static) Website Compiler (Yes, in Ruby). Cheers. Prost. PS: For more Jekyll News Bytes, see @PlanetJekyll.