Custom Rails form submit debounce
This is mostly applied in typehead searching, when a user is typing you can listen to the input event and submit a form that returns search results from the server.
I am Moses Gathuku, an expert Ruby on Rails product developer. I help businesses and individuals build and lunch fully-fledged products and MVPs. Apart from day-to-day work with different clients, I work on my side projects. Currently am building ErrorReady a Ruby on Rails error monitoring app
This is mostly applied in typehead searching, when a user is typing you can listen to the input event and submit a form that returns search results from the server.
In rails, it is possible to specify when the validation should happen. sometimes you may want to introduce new validation or skip some. Rails `on` option helps us achieve this.
Rails provide us with useful test helpers to ActionMailer which helps to easily iterate our design, test if our code queues the right email and our email contains the right content.
Running external APIs tests can be time-consuming, VCR is a ruby gem that allows you to record test suite's HTTP interactions and replay them during future test runs for fast, deterministic, accurate tests