If you want to make your Rails application be capable of sending SMTP emails, check out the action mailer configuration...
It's every developer's nightmare: SQL queries that get large and unwieldy. This can happen fairly quickly with the...
Install the latest bundler version: gem install bundler Fetching bundler-2.3.5.gem Successfully installed bundler-2.3.5 1 gem installed Update the bundler...
For newer Ubuntu versions we currently need to install the patch level version 1.8.7-p375, otherwise the dev dependencies from...
Rubygems supports a 2FA for your account. Once enabled you need to provide your personal OTP code for every release...
The Ruby standard lib ships with a YAML Parser called Psych. But serializing and deserializing data seems not as obvious...
Capybara provides execute_script and evaluate_script to execute JavaScript code in a Selenium-controlled browser. This however is not...
There is a practical short list for valid/invalid example email addresses - Thanks to Florian L.! The definition for valid emails...
Most of the time it is a tedious task to apply a code style guide to an existing code...
I got this error after upgrading Ruby from 2.4.5 to 2.6.4 when I opened the Rails console - rails server still...
When using Chrome for Selenium tests, the chromedriver binary will be used to control Chrome. To debug problems that stem...
The ruby sass gem also installs a command line tool to convert to and from SCSS. Use it for a...
Rails is split into a large number of (sub-) frameworks. The most important and central of those are activesupport (extends...
You can share a state in Ruby with global variables. Even if you should avoid them whenever possible, for debugging...
When an AJAX request raises an exception on the server, Rails will show a minimal error page with only basic...
webpack is a very powerful asset bundler written in node.js to bundle (ES6) JavaScript modules, stylesheets, images, and other assets...
From Ubuntu 17, rbenv fails to install Ruby below 2.4 because of a mismatching OpenSSL dependency: it needs libssl1.0-dev for...
RubyMine comes with a nice way to grep through your project's files: The finder (ctrl + shift + f). Don't...
If your Ruby project includes a gem like Spreewald that comes with some external step definition, RubyMine does not know...
If rspec hangs with no output and you dont get a backtrace neither with --backtrace nor by just killing it...
In Ruby on Rails, all objects have a useful blank? method. It returns true for nil but also for empty...
The gem json fails to install for Ruby 2.5 if you use a version equal or below 1.8.3.
When installing a gem you can use version comparators like >= or ~>. That way it is possible to fetch the latest...
If you get requests with values for formats like this: {:locale=>[:de], :formats=>["../../../../../../../../../../etc/services{{"], :variants=>[], :handlers=>[:erb, :builder, :raw, :ruby...