github.com

The asset pipeline (which is actually backed by sprockets) has a nice feature where templates ending in .jst are compiled...

gaslight.co

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...

makandra dev

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...

rubydoc.info

Preface: Normally, you would not need this in integrations tests (probably that's why it is so hard to achieve...

bundler.io

bundle open BUNDLED_GEM will open the BUNDLED_GEM's source code in your default editor.

The translation method translate and its alias t have bang brothers: translate! and t!. They will raise I18n::MissingTranslationData on...

robots.thoughtbot.com

Bundler 1.4.0 (still beta) can install gems in parallel, making a run of bundle install much faster.

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.

fortawesome.github.io

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

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...