I am using git at several places: at work, at university, and at home. I want an own git user/email...
Font Awesome 4 has renamed all icons. What the fuck. Check the attached link for an icon list for the...
Awesome Sass plugin to experiment with Subtle Patterns based textures. It automatically removes the base color from the pattern, leaving...
It's mixins (modules) for Coffeescript classes. Other than most homegrown approaches, this one allows you to keep using super...
Whenever you create a table from a database migration, remember to add updated_at and created_at timestamps to that...
A snippet of the carrierwave documentation You might come to a situation where you want to retroactively change a version...
We proudly release our safe_cookies middleware into public beta and just published it on Github. Features are:
When you build a link for an email body like this body = "Please click the following link" body << "http://posts/130...
Rails has always included a scaffold script that generates a default controller implementation for you. Unfortunately that generated controller is...
When you run into time zone issues e.g. Given the time is "2011-11-11 11:11" but
...13...
Geordi 0.16+ supports running selenium tests with project-specific firefox versions. Just update the gem. It will still default to...
Establishing a new SSH connection usually takes only a few seconds, but if you’re connecting to a server multiple...
If you need to test interaction with a remote API, check out the VCR gem as an alternative to Webmock...
So you client has asked you to implement a row of buttons to like the URL on Facebook, Twitter and...
The default configuration of Rails disables CSRF protection in tests. If you accidentally forget to send the CSRF token for...
I recently experienced the error ActiveRecord::StatementInvalid: Mysql2::Error: closed MySQL connection. Apparently this happens when there is a timeout...
So you're switching to PostgreSQL from MySQL? Here is some help... General hints on PostgreSQL \? opens the command overview...
dusen 0.4.8 and edge_rider 0.2.3 no longer depend on Rails (they still depend on ActiveRecord). That means you can...
The asset pipeline (which is actually backed by sprockets) has a nice feature where templates ending in .jst are compiled...
For all late night coders: The program "redshift" changes your monitors' white balance according to your position on the planet...
Consul 0.10.0 now allows multiple power mappings for nested resources. When using nested resources you probably want two power
I had some problems with Git and the file spec/fixtures/ČeskýÁČĎÉĚÍŇÓŘŠŤÚŮÝŽáčďéěíňóřšťúůýž. After pulling the latest commits, it would show that...
When two classes implement the same behavior (methods, callbacks, etc.), you should extract that behavior into a trait or module...
In Rails 5 you can say: ApplicationController.render( :template => 'users/index', :layout => 'my_layout', :assigns => { users: @users } ) If a Request Environment is...