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.
Understand Rails async database queries by reimplementing them in 51 lines of simple
ActiveRecord async loading of db queries can be a very easy and valuable optimisation but mis-using them could turn ugly. Understanding how they actually work is a great way to make the most out of them in a safe way: https://radanskoric.com/articles/understand-rails-async-db-queries
Beyond Technical Complexity with Thiago Pinto | Rubber Duck Dev Show 104
In this episode, we discuss complexity that exists beyond the technology we use to build our application solutions with Thiago Pinto: https://www.rubberduckdevshow.com/episodes/104-beyond-technical-complexity-with-thiago-pinto/
Deploy Your Rails Applications the Easy Way With Kamal
If you’re looking for a simple way to deploy your Rails apps on the infrastructure of your choice, Kamal makes the process effortless. Is it a good choice for you? https://dennmart.com/articles/deploy-your-rails-applications-the-easy-way-with-kamal/
rubidity (quick) starter template repo incl. standard / built-in contracts
Hello, in the ongoing blockchain programming with ruby series i published the new rubidity.starter template repo that lets you run rubidity contracts (with 100%-solidity compatible data types & abis) in your own home for fun & profit (for free). for the contracts included see rubidity-contracts. happy blockchaining with ruby and rubidity.
Benry-CmdApp (command-line app framework) 0.1.0 Released
Benry-CmdApp 0.1.0 released!
Benry-CmdApp is a framework for Ruby to create command-line applications that accept subcommands and arguments.
If you want to create a command-line app similar to git
, docker
or npm
command, Benry-CmdApp is the solution.
See document for details.
Special: Hanami Core Team Interview | Hanami Mastery #50
I’ve collected questions collected from the community and asked them to Hanami core Team. I hope you’ll find this interview useful! [more inside]
Solidus 4.2 is out!
Solidus 4.2 is fresh out of the oven and the work continues in the 4.x releases to restyle and rework the admin interface! [more inside]
Build the Framework You Need
The article outlines an approach that helps retain the vanilla Rails feel as projects grow. I applied it successfully on numerous projects: https://www.gregnavis.com/articles/build-the-framework-you-need.html
Benry-CmdOpt (command option parser) 2.0 released
Benry-CmdOpt 2.0 released.
Benry-CmdOpt is a command option parser library, much better than optparse.rb
.
Release 2.0 has not only a lot of improvements but also breaking changes.
See document and CHANGES for details.
Spooky Ruby Shirts and Hoodies - Just time for Halloween
Three new designs launched for Halloween: https://popruby.com/collections/halloween
7 Lesser-Known Features and Changes in Rails 7.1
Dockerfiles and has_secure_password improvements are the headline features of Rails 7.1, but there are several more interesting improvements to the developer experience that aren’t heavily promoted in the release notes. I’m particularly happy that some long-standing Rails issues have been addressed: better testing of errors in integration tests, and a fix for unruly log files. Here’s a list of 7 things that caught my eye in Rails 7.1: https://mattbrictson.com/blog/rails-71-features
soliscript v0.1 gem (formerly rubidity-simulacrum) - solidity ♥ ruby
Hello, i published a new version and renamed the gem formerly known as rubidity-simulacrum to soliscript. the new blurb reads: soliscript - run blockchain contracts in rubidity (with 100%-solidity compatible data types & abis) on an ethereum simulacrum in your own home for fun & profit (for free) and the FAQ on Why? says Why Not? or more serious answer - let’s remove the hated ruby from the name for our solidity friends (to maybe give it a try). PS: solidity programmers hate ruby. rubyist hate solidity. a perfect match! solidity ♥ ruby . join us in spreading the ruby love (in blockchain contract programming) ;-).
Blocking bots on 404 pages and custom Rack Attack response message
The latest Rails Tricks is out: https://greg.molnar.io/blog/rails-tricks-issue-20/
Baby dry-operation is born
I’ve just released a free-form Open Source Status update that delves into my personal journey, leading to a fantastic addition to the dry-rb ecosystem: introducing dry-operation.📢🔥
Service objects in Rails: how to find a mess
In this new post I dig deep into the issues which can happen when you use service objects and compose them.
Rails 7.1 enables force_ssl=true in production by default.
Rails 7.1 sets the option of config_force_ssl to true by default in production.rb file. In previous versions of Rails, it was commented out. This change will enhance web security while developing an app. [more inside]
Revisiting Leaving the Cloud | Rubber Duck Dev Show 103
In this episode, we revisit a topic we covered a number of months ago about 37 Signals leaving the cloud. We cover new information since that episode aired as well as how Ahrefs saved over $400 million dollars: https://www.rubberduckdevshow.com/episodes/103-revisiting-leaving-the-cloud/
Reducing Risk with Feature Flags
14 ways to reduce risk with feature flags. Smaller bets + faster feedback FTW! [more inside]