A snippet of the carrierwave documentation You might come to a situation where you want to retroactively change a version...

Today I ran into trouble installing therubyracer on Ruby 1.8. The installation failed with *** extconf.rb failed *** Could not create Makefile...

If you need to enable NewRelic monitoring on certain machines within the same Rails environment, a simple solution is to...

Rails has always included a scaffold script that generates a default controller implementation for you. Unfortunately that generated controller is...

stackoverflow.com

You're better off using debugger-ruby_core_source: gem install debugger-ruby_core_source If you can't do...

It is good programming practice to Don't Repeat Yourself (or DRY). In Ruby on Rails we keep our code...

The default configuration of Rails disables CSRF protection in tests. If you accidentally forget to send the CSRF token for...

stackoverflow.com

If you want to have routes that are only available in tests (e.g. for testing obscure redirects), you can use...

When writing Rails migrations to convert a string column to an integer you'd usually say: change_column :table_name...

Working with lists in Javascript is painful because the native Array class is so poorly designed. One way to reduce...

So you're switching to PostgreSQL from MySQL? Here is some help... General hints on PostgreSQL \? opens the command overview...

makandra dev

The mysql2 gem in version 0.3.13 might break while compiling on older patch releases of Ruby 1.9.3 within rvm:

Using text-transform: uppercase - especially on form labels - can cause you serious headaches in Selenium tests. Sometimes the web driver...

angular-tips.com

Angular comes with different types of services. Each one with its own use cases. All of these services are singletons...

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

rubydoc.info

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

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

hagenburger.net

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