How to restore DB from SQLC file
Public

`pg_restore -d db_name /path/to/sqlc/file.sqlc`

How to be up to date with Ruby and Ruby On Rails releases
Public

Ruby releases: https://www.ruby-lang.org/en/downloads/releases/ Ruby On Rails releases: https://rubygems.org/gems/rails/versions

Rails migration decimal precision scale
Public

Rails migration decimal precision scale explained quasi visually ``` 123.45678912345 <- scale -> <- precision -> ```

How to remove deleted branch names from git suggestions?
Public

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...

How to install gem without documentation
Public

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 clear sidekiq queue
Public

How to clear sidekiq queue in 4 steps?

Ruby logger log levels
Public

OK, it seems obvious but I always spend several minutes finding it. So I think it's a good idea to put it here.

How to Address a Lady in a Business Letter
Public

How to Address a Lady in a Business Letter? Here some advises. ## Not married `"Ms. #{last_name}"` or `"Miss #{last_name}"` ## Married `"Mrs. #{l...

How to drop a production database in Rails 5
Public

I encountered a problem when dropping a production database. Here's the solution

How to use helper methods in mailer templates
Public

How to use helper methods in mailer templates? Instead of this "include YourHelper" use this "add_template_helper YourHelper" in YourMailer

How to set maximum backup size in time machine
Public

To set maximum backup size run this command in shell...

How to restore deleted git branch
Public

Short and working solution to restore deleted git branch

How to include logo into devise messages
Public

A quick guide how to include any file, in this case logo to devise messages

De Morgan's laws in Ruby
Public

The negation of a disjunction is the conjunction of the negations and The negation of a conjunction is the disjunction of the negations.

Rails ERD diagram visualisation online
Public

Manual: 1. Go to https://dbdiagram.io/d 2. Click *import* and choose *Import from Rails (schema.rb)* 3. Paste schema.rb content 4. voilĂ 

https://dbdiagram.io/d

Rubular - a Ruby regular expressions editor
Public

Rubular is an online tool to check regular expressions written in Ruby.

http://rubular.com/

Free icon rainbow - big source of free icons
Public

Free icon rainbow - big source of free icons. Many sizes and 3 formats: png, jpg, svg

http://free-icon-rainbow.com/

How to get image details like creation timestamp using MiniMagic
Public

How to get image details like creation date and tile using MiniMagic

Labelary - an online ZPL editor
Public

Labelary is an online ZPL (Zebra Programming Language) editor and viewer

http://labelary.com/viewer.html

Transparent textures - a subtle backgrounds repository and generator
Public

Standing on the shoulders of Subtle Patterns. Built and maintained by mikehearn.

https://www.transparenttextures.com/