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
Note: Only the first pargraph is shown on the front page and overly long paragraphs may be broken up.
https://jonsully.net/blog/rails-wizards-part-one/ — I spent the last few weeks investigating the storied history of building a multi-step form / wizard in Rails. Seems like there’ve been a lot of proposed ways to make the cookie crumble in Rails’ long history. I hoped to add clarity to a few means of doing that while investigating my own needs for my specific project. Hopefully it’s a net-positive 😊
If you’ve ever checked the environment in your Rails app with Rails.env.production? you’ve used a fascinating little utility class called StringInquirer. In this post, Jonathan Miles dives into the rails codebase to show us exactly how StringInquirer works and how we can bring a little of its magic to our own apps. https://www.honeybadger.io/blog/rails-activesupport-stringinquirer/
https://semaphoreci.com/blog/continuous-integration-monorepos - Learn how to design and run faster CI/CD pipelines on #monorepos.
The “What” belongs to
perform public method and the “Why”s reside in private methods. [more inside]
In this part of the series on Rails patterns and anti-patterns, we are going to analyze the final part of the MVC (Model-View-Controller) design pattern — the Controller.
https://semaphoreci.com/blog/automated-testing-cicd Learn what automated testing is, how the path to a fully automated test suite looks like, and the challenges that lie along the way.