The asset pipeline (which is actually backed by sprockets) has a nice feature where templates ending in .jst are compiled...
We’ve been working on one of our first Angular projects with a Rails backend. It’s been a great...
Do not use .rvmrc files to specify Ruby version and gemset configuration any longer, it's deprecated and not considered...
For all late night coders: The program "redshift" changes your monitors' white balance according to your position on the planet...
After running bundler / gem install I could not load nokogiri lately. It died with cannot load such file -- nokogiri/nokogiri.
We sometimes send calender data or tasks using iCalendar (ICS) via eMail as specified in RFC 5545. Recently, a customer...
In contrast to RSpec's included allow_value matcher, the attached matcher will also work on associations, which makes it...
The translation method translate and its alias t have bang brothers: translate! and t!. They will raise I18n::MissingTranslationData on...
Consul 0.10.0 now allows multiple power mappings for nested resources. When using nested resources you probably want two power
When two elements with display: inline-block are sitting next to each other, whitespace between becomes a space character.
In order to keep the controllers directory tidy, we recently started to namespace controllers. With the :controller option you can...
When you're writing migrations that do more than changing tables (like, modify many records) you may want some output...
An opinion how to implement BEM. I don't agree with all of Nico's choices, but I applaud his...
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...
RubyLTS is a long term supported fork of Ruby 1.8 that will continue to receive security updates for the forseeable...
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...
Capistrano 2 brings the shell command which allows you to run commands on your deployment targets. There is also invoke...