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.
[Screencast] GitHub Actions
GitHub Actions makes it easy to automate all your software workflows, now with world-class CI/CD. Build, test, and deploy your code right from GitHub. In this episode, learn to set up GitHub Actions on your Ruby on Rails application with automated tests, code coverage reporting, and security testings. https://www.driftingruby.com/episodes/github-actions
HashWithIndifferentAccess in Rails
In this post for beginners, we will checkout how ActiveSupport::HashWithIndifferentAccess works. [more inside]
How to Build Blog with Ruby on Rails (Part 3)
Using Bootstrap for Rails application: https://fullstackrubyonrails.com/blog/using-bootstrap-for-blog-application
I just launched a free step-by-step course where I build a real production Rails App
I’ve gained so much from the Rails community, and I want to give back. That’s why I’ve created a free course where I build a real production Rails application from start to finish. You see the whole process as if we are pairing. [more inside]
Using git with ruby - gitti gem - (yet) another (lite) git command line helper
Hello, I’ve updated the gitti gem that is (yet) another (lite) git command line wrapper / helper that lets you use / script git with ruby using the Git or GitProject class. Cheers. Prost.
How to Build Blog with Ruby on Rails (Part 2)
Learn about Active Record and creating CRUD Post for Blog application https://fullstackrubyonrails.com/blog/crud-post-for-blog-application
tty-markdown v0.7 and tty-markdown-cli are out
The newest tty-markdown comes with many new features like support for definition lists, footnotes, XML comments and popular HTML elements. It improves table and link formatting as well as squashes some pesky bugs. Ah there is also a new companion tty-markdown-cli gem that installs tty-markdown executable. Enjoy!
Modern Rails flash messages with ViewComponent, Stimulus & Tailwind CSS
One way how to get rid of the repetitive and annoying “Are you sure?” question when deleting records using modern Rails flash messages.
Ruby Next 0.10.0: Shorthand Hash notation and more
This release brings some edge Ruby (3.0) features (find pattern, leading arguments in forwarding, Hash#except) and also adds support for the proposed short Hash notation (like in ES6).
Introduction to DSL by implementing Rake
We’re going to implement the very first draft of Rake — by Jim Weirich 🙏 himself https://medium.com/rubycademy/introduction-to-dsl-by-implementing-rake-99439bdc3513
Mastering Low Level Caching in Rails
Sometimes when your app is slow, it’s not your fault. Your code might be optimized to the teeth, but it won’t matter if it has to perform intrinsically slow tasks, like fetching data from an external API. In these situations, Rails’ low-level caching can be a life-saver. But caching is infamously tricky. It’s dangerous to go alone. In this article, Jonathan Chase guides us through the landscape of low-level caching. He covers the basics, but more importantly, digs into essential details of cache invalidation and points out common pitfalls. https://www.honeybadger.io/blog/rails-low-level-caching/
monos - monorepo / mono source tree tools and (startup) scripts
Hello, I’ve put together the new monos gem that sports some little tools that let you manage monorepos / mono source trees (for ruby gems). It’s an early stage - for now the mono (or short mo) command line tool lets you run git commands on multiple repo(sitories) with a single command. Cheers. Prost.
Truemail 🚀 configurable framework agnostic plain Ruby 📨 email validator
Truemail 1.9.0 has been released! 🚀🚀🚀 Added host auditor json serializer. Be sure that email address 📨 valid and exists. https://github.com/rubygarage/truemail
Frontman - New Static Site Generator for Ruby
I just found out about this new static site generator. Thought I would share it with the community. https://github.com/algolia/frontman
System of a test II: Robust Rails browser testing with SitePrism
The next installment in the Rails system testing series of posts from Evil Martians (see Part 1 here) teaches to decouple Capybara tests from HTML markup specifics with the help of SitePrism and a Page Object Model. Code examples adapted from real-world projects.
The great Rubykon Benchmark 2020: CRuby vs JRuby vs TruffleRuby
After a long time finally a new edition of the big rubykon benchmark comparing different Ruby implementations. [more inside]