fortawesome.github.io

A list of FontAwesome icons in the form of copyable Unicode characters or HTML entities. You might prefer to use...

In order to keep the controllers directory tidy, we recently started to namespace controllers. With the :controller option you can...

apidock.com

When you're writing migrations that do more than changing tables (like, modify many records) you may want some output...

snook.ca

CSS3 comes with new unit rem. It works like em but it is always relative to the element instead of...

hagenburger.net

An opinion how to implement BEM. I don't agree with all of Nico's choices, but I applaud his...

stackoverflow.com

I had some problems with Git and the file spec/fixtures/ČeskýÁČĎÉĚÍŇÓŘŠŤÚŮÝŽáčďéěíňóřšťúůýž. After pulling the latest commits, it would show that...

Ruby's private keyword might do a lot less than you think. "private" does not apply to class methods defined...

A short browsing revealed that this may be a current firefox issue Current workaround: use another browser

When two classes implement the same behavior (methods, callbacks, etc.), you should extract that behavior into a trait or module...

Custom matchers are a useful RSpec feature which you can use to DRY up repetitive expectations in your specs. Unfortunately...

Shared example groups are a useful RSpec feature. Unfortunately the default directory structure generated by rspec-rails has no obvious...

In Rails 5 you can say: ApplicationController.render( :template => 'users/index', :layout => 'my_layout', :assigns => { users: @users } ) If a Request Environment is...

makandra dev
rubylts.com

RubyLTS is a long term supported fork of Ruby 1.8 that will continue to receive security updates for the forseeable...

developers.google.com

The Google Chrome DevTools allow you to inspect, debug, and analyze the on-device experience with the full suite of...

Box shadows are awesome. Unfortunately they are also very costly to render. You will rarely notice the rendering time on...

web.archive.org

Capistrano 2 brings the shell command which allows you to run commands on your deployment targets. There is also invoke...

When you have files in your .gitignore they won't be considered for changes, but still you might want to...

Simply give the select helper an option :disabled, passing either a single value or an array. You need to specify...

For Capybara, use this step: Then /^"([^"]*)" should be a disabled option for "([^"]*)"(?: within "([^\"]*)")?$/ do |value, field, selector| with_scope(selector...

makandracards.com

So you're hunting down a regression (or just a bug) and want to use git bisect to find out...

Exception notifications contain a lot of information: Backtraces, HTTP headers, etc. exception_notification tries its best to format this wall...

smartinez87.github.io

The new exception_notification has awesome options like :ignore_crawlers => true and :ignore_if => lambda {...

...}. These options should be helpful...

To make this go away I had to wipe my RubyMine settings (~/.RubyMine) and configure everything again. Fun.

We tend to use database transactions as a magic bullet to get rid of all our concurrency problems. When things...