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
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
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...
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
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
Configure wicked_pdf with: ```ruby disable_smart_shrinking: true ``` Then you can accurately use `mm` and `cm` as units in your CSS
Replace Font Awesome with modern line icons with a single line of code.
Method memoization in ruby is easy when the method is one line long: ``` def something @something ||= # your calculations end ``` But when we hav...
Recommended by https://pawelurbanek.com/profitable-slack-bot-rails
See the link for setup instructions. Then in ruby: ```ruby conn = Faraday.new(your_slack_webhook_url) conn.post do |req| req.headers['Content-Type'] ...
Standing on the shoulders of Subtle Patterns. Built and maintained by mikehearn.
Free icon rainbow - big source of free icons. Many sizes and 3 formats: png, jpg, svg