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.
A Quick and Easy Guide to the Asset Pipeline in Rails 7
With the release of Rails 7, the asset pipeline has seen somewhat of a dramatic improvement. What used to be a choice between Sprockets and Webpack has now become a brain-twister. [more inside]
Optimizing Email Batch API with bulk inserts
How we optimized our Email Batch API by using Rails bulk inserts with MySQL and how to calculate the auto-incrementing IDs for records, given MySQL does not support a RETURNING clause. [more inside]
Hanami Upgrade 1 -> 2 - Part 1: Migrations
Hanami 2 is behind the corner, so we started putting effort into upgrading our projects. It’s not easy, but doable and we decided to share our findings for others to have an easier time. Check it out, the next steps coming! [more inside]
Rails faker gem overview
The faker gem for Rails is here to help your test database to be seeded with real-looking test data. Let’s see how. [more inside]
RubyConf 2022 Talk Accepted - Building Native GUI Apps in Ruby
My talk proposal for RubyConf 2022 (Houston, TX, USA / Nov 29 - Dec 1) titled “Building Native GUI Apps in Ruby” has been accepted! [more inside]
Rails Remote Conf 2022 Talk Accepted - Ultra Light Wizard
My talk proposal for Rails Remote Conf 2022 (Feb 6-10, 2023) titled “Ultra Light Wizard” has been accepted! Ultra Light Wizard is an approach for building multi-step forms in Rails. [more inside]
Glimmer DSL for SWT Video Tutorial 32 - Klondike Solitaire
Desktop development is about 10 times simpler than web development. Learn it and you will become a better web developer as you transfer the simplicity of desktop development to the web! [more inside]
The what, the why, and the how of Bloom Filters
Have you ever wondered how does Medium recommend blogs to read or how does a platform with millions of users tells if a username is available or taken? If yes, you have come to the right place, as we are going to look at the data structure that makes this and a lot more happen. The data structure is Bloom Filter. [more inside]
Trip v5.0.0 - now using Fiber.
trip.rb is a concurrent tracer that can pause and resume the code it is tracing. The new major version is notable because it moves away from threads to using fibers instead, and that will hopefully prove more reliable than the previous threaded implementation.
Autoloading pitfalls fixed by Rails 7’s default Zeitwerk mode
Rails 7 onward Zeitwerk mode completely replaces classic autoloader thereby resolving the flaws of classic autoloader. If you’d like to see some examples related to this, please check out this blog. [more inside]
Tobox: a transactional outbox framework
The first version of tobox (v0.1.0) has been released. [more inside]
Rubber Duck Dev Show Episode 57 | Going Off The Rails With Drew Bragg
Hear three rubyists discuss what to do when your app or project “goes off the rails” with our guest Drew Bragg: https://www.rubberduckdevshow.com/episodes/57-going-off-the-rails-with-drew-bragg/
Sarah Wells on Mastering Microservices Over Monolithic Applications
A must-listen interview with Sarah Wells, Software Developer, about her experience in transitioning to microservices and what we should know before starting. [more inside]
Glimmer DSL for SWT Refined Table
A recent blog post mentioned that in Glimmer DSL for SWT, you can data-bind a table bidirectionally in a single line of declarative code. Well, in the latest release, that line is shorter now, thanks to Convention Over Configuration!! Also, a new Custom Widget called refined_table
has been released to support displaying very large amounts of data in a table
via automatic pagination. [more inside]
Automate Rake Tasks
When rake tasks need to be part of a deployment, you could find yourself in a situation where the rake task was forgotten about or have to go through the process of shelling into the environment to execute the tasks. In this episode, we look at addressing these issues by creating a way to have rake tasks execute automatically. https://www.driftingruby.com/episodes/automate-rake-tasks
Ruby-on-Rails and Arel
Databases are the pillar of web application. The key is to understand how they work and the related tools, going from standard SQL language to Arel. [more inside]
Glimmer DSL for SWT Video Tutorial 31 - Battleship
Desktop development is about 10 times simpler than web development. Learn it and you will become a better web developer as you transfer the simplicity of desktop development to the web! [more inside]