Whenever you create a table from a database migration, remember to add updated_at and created_at timestamps to that...
Today I ran into trouble installing therubyracer on Ruby 1.8. The installation failed with *** extconf.rb failed *** Could not create Makefile...
Search engines, such as Google and Bing are engineered to crawl static web pages, not javascript-heavy, client-side apps...
If you need to enable NewRelic monitoring on certain machines within the same Rails environment, a simple solution is to...
Ubuntu has a package mysql-sandbox that lets you install multiple MySQL versions into your user home: Install mysql-sandbox...
Rails has always included a scaffold script that generates a default controller implementation for you. Unfortunately that generated controller is...
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...
So you client has asked you to implement a row of buttons to like the URL on Facebook, Twitter and...
You might not know that Rails disables CSRF protection in tests. This means that if you accidentally forget to send...
There may be reasons to change the locale of your Postgres cluster. A popular one is your development system's...
Presentation about awesome changes we can look forward to.
Responsive elements makes it possible for any element to adapt and respond to the area they occupy. This is different...
Awesome slide deck about taking liberties with design requirements in order to keep the CSS simple.
With Rails 4, Concerns have become the “official” solution to the big-models problem. However, there’s a fair amount...
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...
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.
Preface: Normally, you would not need this in integrations tests (probably that's why it is so hard to achieve...
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...
An opinion how to implement BEM. I don't agree with all of Nico's choices, but I applaud his...