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.
9 tips to improve RSpec maintainability
Use the right tool at the right place for the right purpose https://medium.com/@ntd251/9-tips-to-write-better-rspec-5569b45fb1a1?source=friends_link&sk=b2e37ac847a5ff8f89ebbf923a601c6a
Installing SimpleCov for test code coverage with RailsBytes
Rails app templates are an awesome way to make interactive install scripts. In this screencast, we’ll show you how to write a RailsByte app template that installs simplecov for both minitest and rspec. Watch the SimpleCov & RailsBytes screencast
Ruby on Rails Development: Obstacles, Opportunities, and RubyGems
Ruby on Rails development provides several opportunities in 2020. Here’s how Ruby on Rails web development can help you overcome obstacles. There’s also a list of some of the best RubyGems. https://www.botreetechnologies.com/blog/ruby-on-rails-development-obstacles-opportunities
Last day to take the Ruby on Rails Community survey!
Take 10 minutes to share your experience using Ruby on Rails in the 2020 Ruby on Rails Community Survey. [more inside]
GitHub-style Hovercards with Stimulus and HTML-over-the-wire
Turbolinks, Stimulus, and Server Rendered HTML is a compelling alternative to modern JavaScript single page apps. Let’s build a hovercard to see how you can kick it old school with a more boring approach. https://boringrails.com/articles/hovercards-stimulus/
Graceful Request Retries in Ruby Applications
Failure Management, Fallbacks, Exponential backoff, Tools and Patterns [more inside]
Rails/Docker/Kubernetes-Helm/Github CI OSS boilerplate
A demo “classic” stack application (Rails, Sidekiq, Puma, Redis, PostgreSQL, Action Cable, Webpacker, Stimulus) deployable to Digital Ocean Kubernetes cluster in minutes with Github Actions CI. Boilerplate is based on the work of Le Wagon and Evil Martians [more inside]
Use Github Actions to secure Rails PRs
Using a pronto plugin for the popular brakeman gem, you can setup a Github Action to check for security issues on your PR within minutes. [more inside]
Truemail 🚀 configurable framework agnostic plain Ruby 📨 email validator
Truemail 1.8.0 has been released! 🚀🚀🚀 Added separated audit features for verifier host. Be sure that email address valid and exists. https://github.com/rubygarage/truemail
Huge Theme and Workflow Advances in Bridgetown 0.15 “Overlook”
Whew, a lot has happened since the last release of Bridgetown. The community has been growing on Twitter and in Discord, we’ve gotten new sponsors on GitHub, and a ton of work to move the ecosystem forward has been going on behind the scenes. It’s time to unveil some of those initiatives today with the release of Bridgetown 0.15 “Overlook”!
Web Scraping with Ruby
A pretty thorough overview on how to do web scraping with Ruby. The post covers working with HTTParty, Nokogiri and the Kimurai web scraping framework.
Top Web Development Frameworks in 2020
The top web app development frameworks enable building robust web applications. Here are the top web app development frameworks for succeeding with your web applications in 2020. https://www.codementor.io/@samwatt/top-web-app-development-frameworks-in-2020-17h1root5t
Embracing Perspectives with the Rails Router
A simple Rails routing convention that could have a huge impact on how you organize and discover code in your applications. [more inside]
Understanding Basic Ruby Data Types
Venturing into Ruby? Start with Ruby data types. Get simple information about the different data types in Ruby from this article. Once done, you’ll know how helpful Ruby on Rails data types are. [more inside]
Rails 6 multiple databases support in Rails Event Store
Rails 6 released in August 2019 has brought us several new features. One of the notable changes is support for multiple databases. All details have been described in Rails guides and I’ve read already several blog posts describing how to do it. But how to use this feature to allow Rails Event Store data to be stored in a separate database? Check my blog post where I document my experiments with it.
Delete_all will surprise you
A fun experience with delete_all method from ActiveRecord and the approach to debugging SQL queries in the test environment. [more inside]