When deploying Rails applications you might have noticed that JS and CSS are not cached by all browsers.
With this plugin, you can create a scalable tooltip by just using a single background image for the tooltip body...
Prototip allows you to easily create both simple and complex tooltips using the Prototype javascript framework. Please note: "Permission to...
The point is, evented I/O is not magic scalability pixie dust, and like anything, there is a tradeoff.
A well-written API can be a great asset to the organization that wrote it and to all that use...
When working with times and dates in Rails applications, you need to deal with the following problem: In Rails, Time...
Spreewald has steps that let you test that e-mails have been sent, using arbitrary conditions in any combination.
Don't use should validate_format_of(...) because that matcher works in weird ways. Use the allow_value matcher instead...
Use this if you want to show or hide part of a form if certain options are selected or boxes...
Keyboard layout reverting to US on (every) reboot Cause: I found the same problem, but only on my wife...
You can write regular expressions some different ways, e.g. /regex/ and %r{regex}. For examples, look here. Remember that it...
popthis is awesome when used with inaction_mailer. Setup inaction_mailer Install the gem: sudo gem install popthis
To pause and send a task to the background ctrl+z to reactivate the task fg to run task in...
So you screwed up and copied Paperclip secrets from one project to another. Here is a semi-automatic, painful way...
Capybara does not play nice with sites that have some actions protected by SSL, some not. A popular way to...
Our awesome collection of rspec helpers (formerly known as "spec_candy.rb") is now available as a gem. It works, it is...
Show all sockets (Unix & TCP/UDP), both listening and established ones: netstat -anp To limit the output e.g. to listening TCP...
traits.js is a minimal, standards-compliant trait composition library for Javascript.
This is called "cherry-picking". git cherry-pick commit-sha1 Note that since branches are nothing but commit pointers, cherry...
To delete a local branch git branch -d the_local_branch To remove a remote branch (if you know what...
Reverting a commit means creating a new commit that undoes the old changes. Imagine the following commit history:
YARD 0.6 adds the ability to serve documentation for gems as well as the current project with yard server. Just...
Ruport’s acts_as_reportable module provides support for using ActiveRecord for data collection. You can use it to get...
When doing a query like this: SELECT id FROM users WHERE (users.id IN (899,1084,1095,100,2424,2429,2420...