Recently I realised a strange behaviour of roo gem when working with sheets (tabs). Here's what works non-intuitively in my opinion.
How to generate Excel column symbols in Ruby ``` ('A'..'Z').to_a.unshift(nil).product(('A'..'Z').to_a).map { |arr| arr.compact.join } ``` If you woul...
Ruby releases: https://www.ruby-lang.org/en/downloads/releases/ Ruby On Rails releases: https://rubygems.org/gems/rails/versions
Shell script that will start a tmux session with Rails console and server in side panes
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...
Use this syntax to format raw SQL nicely in ruby code. In some editors it also enables SQL syntax highlighting.
Reset devise passwords quickly, even for thousands of users.
How to get image details like creation date and tile using MiniMagic
Method memoization in ruby is easy when the method is one line long: ``` def something @something ||= # your calculations end ``` But when we hav...
This graph shows several ways to launch subprocess in Ruby.
The negation of a disjunction is the conjunction of the negations and The negation of a conjunction is the disjunction of the negations.
OK, it seems obvious but I always spend several minutes finding it. So I think it's a good idea to put it here.
A quick guide how to include any file, in this case logo to devise messages
Rubular is an online tool to check regular expressions written in Ruby.