https://github.com/heartcombo/devise/wiki/How-To:-Send-emails-from-subdomains
If you are using the Devise lockable module and locked user access (usually during the development) use this method to unlock it.
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...
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à
How to Address a Lady in a Business Letter? Here some advises. ## Not married `"Ms. #{last_name}"` or `"Miss #{last_name}"` ## Married `"Mrs. #{l...
https://github.com/svenfuchs/rails-i18n/tree/master/rails/locale
`pg_restore -d db_name /path/to/sqlc/file.sqlc`
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 -> ```
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
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
The tutorial that is short, well performed and works!
How to get image details like creation date and tile using MiniMagic
I encountered a problem when dropping a production database. Here's the solution
Standing on the shoulders of Subtle Patterns. Built and maintained by mikehearn.