Lets say you need to make a change to a commit OLD_COMMIT, but this is not the most recent...
By default, Opera 11 hides any passed params and the URL's protocol until you focus the address bar.
The Ruby on Rails security list archive can be found here: http://groups.google.com/group/rubyonrails-security You can subscribe to this mailing...
If you turn on stylesheet caching, it might happen that stylesheets from different locations with different relative pathes will be...
Submit buttons in Rails come with a useful option :disable_with which will disable the button when clicked and change...
Wondering which processes are placed in your swap you can use this bash oneliner: for file in /proc/*/status ; do...
In order to clone a git repository including all branches and tags you need to use two parameters when cloning...
If you get an error "Adress already in use" with autossh check with lsof or netstat if something already listen...
List flavors to show the ID and name, the amount of memory, the amount of disk space for the root...
...within scope will only look at the first element that matches. We find this behavior to be impractical, but it is by design. In order to perform a test or...
It's not logical, so don't be too hard on yourself. You need to give it a height and...
...are more and more touch-capable devices out there, as a web-developer it becomes more and more important to know how to deal with touch events next to mouse...
Before installing chef, make sure curl is installed and sudo finds your gems setup chef-client: follow this guide
This will not work (it always passes): Then the "Title" field should contain "" The value is turned into a regular...
When you receive a ZIP file from a Windows user, umlauts and other non-latin1 characters in filenames may look...
When using ActionMailer, you can set an array of email addresses as recipients. If this array is generated by e.g...
Setting the colorbox opacity by hash parameter when initializing doesn't work the way like the documentation tells you.
If you worked with a system Ruby before switching to RVM, this system Ruby will be in your way when...
This card needs to be updated for Rails 3+. Since there is no --debugger flag you need to run:
This can be helpful when you need the latest file inside a directory for processing in a shell script:
Rails 5 will introduce ActiveRecord::Relation#or. On Rails 4 and 3.2 you can use the activerecord_any_of gem...
If your Angular app has some decent complexity, it will not be easy to use UI Router straight away. Here...
TL;DR: Variables not declared using var are stored outside the current scope, most likely in the global scope (which...
...as it breaks Rails' magic, e.g. when using form_for. You'll always be better off using simple pluralizable resources. Rails automatically creates path names for routes defined via the...