Sometimes you can make your life easier by not allowing a record attribute to be changed after the record was...
ActiveRecord comes with a method touch which sets the updated_at timestamp to the current time. Unfortunately it also runs...
blueprint is DevStructure’s workhorse tool that looks inside popular package managers, finds changes you made to configuration files, and...
List of global variables available to a Ruby script.
I don't like those buttons inside the header area of a message that Thunderbird 3 put there. Though the...
Sometimes you need to dynamically load an image and do something as soon as its loaded (when for example its...
Cucumber scenarios that are tagged with @javascript so they run with Selenium are very slow. You might not want to...
If you plan to insert an existing PDF into a new LaTeX document that you will compile to PDF, you...
Merging .po-files with Git is painful. There have been attempts of making Git more clever when trying to merge...
Now allows to list transition paths from and to arbitrary states.
Add deprecation warnings and their solution or link to available solutions. Global access to Rake DSL methods is deprecated. Please...
Type looking a little flabby? Overweight? Want to give it a kick in the pants? Take a look at some...
With SNI, you can have many virtual hosts with HTTPS sharing the same IP address and port, and each one...
If in your application your users pass along params that result in filenames, like invoices/generated?number=123. This could be...
Pie sometimes does not properly redraw elements upon changes. This often happens when the change comes from somewhere further up...
JavaScript Garden is a growing collection of documentation about the most quirky parts of the JavaScript programming language. It gives...
The attached RSpec matcher exist_in_database checks if a given record still exists in the database and has not...
Install OpenSSH Server: sudo apt-get install openssh-server To check if the server is running you should get no...
When you need to insert many records into the same table, performance may become an issue. What you can do...
An overview of common vim commands, including: windows buffers undo/redo navigation bookmarks selection/whitespace clipboard shortcuts search/replace programming external filters
We are maintaining some vintage projects with tests written in Test::Unit instead of RSpec. Mocks and stubs are not...
You can find ActiveRecord models by using a Range as its conditions: User.scoped(:conditions => { :id => 3..5 }) This will generate...
The speed searching for makandra notes in Firefox can be improved by following these steps: Download the Firefox-Add-on...
If you have the following deprecation warning after upgrading to rails >= 2.3.10 DEPRECATION WARNING: The :overwrite_params option is deprecated...