https://thispersondoesnotexist.com/ the website has the capabilities of conjuring up an image using the GAN algorithm. The GAN works by splitting the ta...
Ruby releases: https://www.ruby-lang.org/en/downloads/releases/ Ruby On Rails releases: https://rubygems.org/gems/rails/versions
To set maximum backup size run this command in shell...
Rails migration decimal precision scale explained quasi visually ``` 123.45678912345 <- scale -> <- precision -> ```
This error message seems to be related to network or Bundler issue, but it isn't - newer version of Bundler requires new version of RubyGems, which is not updated by default. Here, you'll see how to fix this issue.
How to remove deleted branch names from git suggestions? It's as simple as that: ``` git fetch --prune --all ``` Or (thanks to @mus) you can add this...
Hi, You've probably noticed that installation of gem documentation takes more time than installing gem itself. It can be annoying especially when you've alr...
How to use helper methods in mailer templates? Instead of this "include YourHelper" use this "add_template_helper YourHelper" in YourMailer
Sometimes, something unexpected grabs our attention - libv8 or therubyracer extensions installation error - here's how to get rid of them!
Shell script that will start a tmux session with Rails console and server in side panes
When you try to compile ES6 syntax with Uglifier gem initialized you get this error: ``` Uglifier::Error: (...) To use ES6 syntax, harmony mode must be e...
Short and working solution to restore deleted git branch
Pony gem allows to easily send good looking and customizable emails, but it doesn't provide a way to include image in a way that it will be displayed in gma...
Puppeteer is node library providing high level chromium api. One of it's key features is generating pdf from html using chromium web engine. This is great ad...
Use this syntax to format raw SQL nicely in ruby code. In some editors it also enables SQL syntax highlighting.
The tutorial that is short, well performed and works!
This jsx ```react <React.Fragment> <h1>Hello World</h1> <p>This is paragraph</p> </React.Fragment> ``` Will be compiled into this html ```h...
In chrome developer tools go to "Sources" find "Event Listener Breakpoints" and select "Mouse -> mousedown". Now each time the event is triggered, chrome wil...
To use Brakeman, the only thing is to install the gem: ``` $ gem install brakeman ``` and then run the single command in Rails application's root dir...
Organize Pundit error messages and redirects in a decorator. Simplify reuse and maintenance
Need filters, remote paginations, search field in table, selecting row and much more ... You will find everything in this library
When you accidentally commit to master/staging and need to move the commit to a feature branch