Do not use .rvmrc files to specify Ruby version and gemset configuration any longer, it's deprecated and not considered...
After running bundler / gem install I could not load nokogiri lately. It died with cannot load such file -- nokogiri/nokogiri.
In contrast to RSpec's included allow_value matcher, the attached matcher will also work on associations, which makes it...
Preface: Normally, you would not need this in integrations tests (probably that's why it is so hard to achieve...
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
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...
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...
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...
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...
Box shadows are awesome. Unfortunately they are also very costly to render. You will rarely notice the rendering time on...
Simply give the select helper an option :disabled, passing either a single value or an array. You need to specify...
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...
Consul 0.9 comes with many new features to optimize powers that only check access to a given record. e.g. Power.current.post...
The linked page lists and explains global Ruby "dollar" variables, such as: $: (load path) $* (ARGV) $? (Last exit status) $$ (PID)
Ruby 1.9 brings a shorter way to define lambdas using the -> operator: twice = -> (x) { 2 * x } twice.call(5) # => 10