Live markdown previewer (with Github flavored syntax) for VIM. Will open a preview in your browser and update automatically on...
From time to time, RubyMine suddenly did not accept any keyboard input and felt crashed, while mouse interaction was still...
Note This card does not reflect the current state of lazy loading technologies. The native lazy attribute could be used...
Lead by a discussion of this issue, I built in a middleware which answers those requests with [400] bad request...
While you can use Apache as a reverse proxy, it tries to be too smart. Try nginx instead, it's...
There are many solutions, but a very concise one is this: hash.merge!(hash) do |key, old_value, new_value|
You want to test your 1GE or 10GE internet uplink? We needed to ensure we have full 10GE to the...
When dealing with AR scopes, you can remove conditions, order, etc by using the unscope method. It is available on...
PostgreSQL's array data type is pretty useful, but manipulating values of arrays can be awkward because of its syntax...
Rails 4 introduced raising an error on pending migrations. This is most annoying when you are crafting a migration but...
When a method has keyword arguments, Ruby offers implicit conversion of a Hash argument into keyword arguments. This conversion is...
Starting with Rails 4.0, when you get an exception reported via the ExceptionNotification gem, you will only see a very...
Rails 5 will introduce ActiveRecord::Relation#or. On Rails 4 and 3.2 you can use the activerecord_any_of gem...
To safely transport an arbitrary string within a URL, you need to percent-encode characters that have a particular meaning...
When starting a project we always make a good estimate of all known requirements, and plan budgets and available developers...
I recommend install Node.js using nvm. This way you can have multiple Node versions in your ~/.nvm. You also won...
If you need to upgrade code that uses the old jQuery methods bind, delegate, live, unbind and die, the attached...
Moved from Less to Sass. Bootstrap now compiles faster than ever thanks to Libsass, and we join...
To update your Rubygems to the latest available version, type the following: gem update --system Note that you have a...
Spreewald comes with a selector_for helper that matches an English term like the user's profile into a CSS...
You may encounter problems with passenger starting an application with an updated rails. If you find an error like this...
You can include files from app/assets or from the public folder with javascript_include_tag. The subtle difference that tells...
A word of caution There should rarely be a reason for you to split up config/routes.rb. If you need to...
MarcoPolo shows your app name and environment in your console prompt so you don't accidentally break production Officially supporting...