-
Configuring Webpacker for Rails 6 with Bootstrap, JQuery and hot reloading
Since Rails (6) is now shipped with Webpacker, this latter tends to be the new standard for the assets precompilation. RIP Sprockets. But how to get st.
-
Video Tutorial: RubyMine and Docker Compose
Hello everyone,In this tutorial, you’ll learn how to use Docker Compose with RubyMine for local development. For more information about this topic, ple.
-
Best tool for automation
Let’s be honest – the test automation domain, at a high level, is relatively simple. We run a linear set of instructions, we have a discrete expected f.
-
Why use Factory Bot instead of creating test data manually?
I recently taught a Rails testing class where we wrote tests using RSpec, Capybara, Factory Bot and Faker.During the class, one of the students asked, .
-
Full page caching in Rails with Nginx and Redis
The app I am currently working on is a CMS that allows users to create their own sites. These sites are publicly accessible and do not require authenti.
-
Why you should avoid nested STI | ActiveRecord, Rails 6
Nested Single Table Inheritance doesn’t work well. Here’s what you must know to make it work or work around it. Initial specifications: a project owner.
-
Paginate Active Record sets at variable speeds
Most pagination schemes use a fixed page size. Page 1 returns as many elements as page 2. But that's frequently not the most sensible way to page throu.
-
Writing better Stimulus controllers
In early 2018, Basecamp released StimulusJS into the world. Stimulus closed the loop on the “Basecamp-style” of building Rails applications.It’s hard t.
-
rails new cool_app --minimal
"rails new app --minimal" will give you a minimal app skeleton with just Active Record, Action Pack, Active Support, Railties, and the bare necessity s.
-
Simple and safe way to dynamically render error pages or JSON responses for Rails apps
Simple and safe way to dynamically render error pages or JSON responses for Rails apps - yuki24/rambulance...