Ruby Yagi 🐐

Ruby, Rails, Web dev articles

All Articles

Simplify loop using any?, all? and none?

How to truncate long text and show read more / less button

Rails tip: use #presence to get params value, or default to a preset value

How to get started with TailwindCSS

Getting started with automated testing workflow and CI on Ruby

How to call methods dynamically using string of method name

How to run tests in parallel in Github Actions

Devise only allow one session per user at the same time

How to install TailwindCSS 2 on Rails 6

How to implement Rails API authentication with Devise and Doorkeeper

Automatically migrate database when pushing to Heroku

Introduction to API testing using RSpec Request Spec

Insert page specific CSS or JS using content_for

Introduction to Rails testing with RSpec and Capybara

How to merge SimpleCov coverage result on CircleCI 2.0 for parallel test

Check where a method is defined in Ruby

How to integrate HTML / Bootstrap template into Rails 6

Solve slow webpack compilation when using Tailwind @apply

How to access host database from a docker container (Ubuntu)

Getting started with Tailwind CSS on Rails 6

Solve race condition using database trigger function

Automate Rails server provisioning and deployment using Ansible and Capistrano

How to use Bootstrap, jQuery and other libraries in Rails 6 with Webpacker

Run specific tests on Rspec using tag

3 possible reasons why your Rspec tests are flaky