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.
Replace outdated font-awesome-rails gem with drg_material_icons gem
and use latest Google material design icons in your Rails project. https://www.drgcms.org/blog/damjan-rems/replace-outdated-font-awesome-rails-gem-with-drg-material-icons-gem-2022-03-20
Glimmer Wordle Linux Support
Glimmer Wordle v1.1.3 has been released with official Linux support, improving fonts / look and feel, and providing DEB / RPM native executable package downloads. [more inside]
Rubber Duck Dev Show Episode 34 | Real World Performance Enhancements
Hear two rubyists discuss some real world performance enhancements added to a Rails application: https://www.rubberduckdevshow.com/episodes/34-real-world-performance-enhancements/
Why is Queue Time more important than Backend Request Time to auto scaling?
This is a blog post I wrote detailing the benefits of using queue time as a preferred heroku autoscaling metric for dynos.
quick way to check responsive design
https://github.com/igorkasyanchuk/lazy_mobile_tester with this gem you can quickly check how page looks on different resolutions
Online Migrations v0.4.0
More safe/unsafe changing column type checks, ability to reset counter caches using background migrations, some issues fixes. [more inside]
Do You Need to Test Everything?
Tests enforce requirements and provide feedback, telling us when something breaks. But are they always necessary? [more inside]
Glimmer DSL for SWT Video Tutorial 7 - Hello, Text! (Intro To Data-Binding)
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! Glimmer DSL for SWT Video Tutorial 7 is out! It walks software engineers through Hello, Text! and introduces data-binding. [more inside]
The Perils of Parallel Testing in Ruby on Rails
Parallel tests can help speed up your tests in Rails, but be aware of the possible pitfalls. [more inside]
Smoke Testing Keeps Your Delivery Pipeline Safe and Sound
https://semaphoreci.com/community/tutorials/smoke-testing?utm_medium=social&utm_source=smgroups&utm_campaign=smoketesting&utm_content=text Explore the origins of smoke testing and learn how to incorporate into your continuous integration or continuous delivery pipelines.
Ruby on Whales: remake and an interactive generator
Ruby on Whales, a complete guide on Dockerizing Rails applications, got a major upgrade. Learn how to develop Ruby on Rails applications via Docker in 2022! [more inside]
Don't Run Your Ruby Minitest Classes Twice!
Minitest subclasses will cause the parent’s Minitest class to run its tests twice! [more inside]
Ruby on Rails vs. React JS
Every now and then I get asked about the difference between React JS and Ruby on Rails. So in this video, I’m going to explain what those differences are and help you decide on why you might choose one over the other. [more inside]
Finding an Initially Confusing Result in Rails
find_or_initialize_by in rails takes a block. Just because you can doesn’t mean you should. Passing it a block may put you in an awkward position. Let’s find out how. https://dev.to/kevin_j_m/finding-an-initially-confusing-result-in-rails-112n
Adding Meta Tags to a Rails CMS with Polymorphism
There are pros and cons to building CMS functionality into your Rails app. It can be easy to forget important aspects, like SEO and Open Graph. Here’s an approach to addressing both using polymorphism and the MetaTags gem. https://hybrd.co/posts/adding-meta-tags-to-a-rails-cms-with-polymorphism
Glimmer DSL for LibUI Mac ARM64 Support
Glimmer DSL for LibUI (Ruby Desktop Development GUI Library and Fukuoka Ruby 2022 Special Award Winner by Matz) has just had a new release with official Mac ARM64 support in v0.5.5! [more inside]
Rubber Duck Dev Show Episode 33 | Reviewing the OWASP 6-10
Hear two rubyists review the top 6-10 web security risks according to OWASP: https://www.rubberduckdevshow.com/episodes/33-reviewing-owasp-6-10/
Reaching 1.0: Just What is a Next-Generation Progressive Site Generator?
Bridgetown represents an evolution of thinking from previous generations of tools is this space, especially within the Ruby ecosystem. The pace of progress on the web never stands still, and neither will Bridgetown. https://www.bridgetownrb.com/release/reaching-1.0-next-generation-progressive-site-generator/
Ruby on Rails 7 - How to Use Hotwire to Collect User Profile Information
I wanted to test out Rails’ Hotwire features and see if I can migrate a feature like a user registration form with Devise to use Hotwire. [more inside]
The 6 Principles of Test Automation
Test automation allows developers to get continuous feedback and spot problems very early in the production cycle. Quick iteration results in improved design, better quality, and safer launches. [more inside]