If you just upgraded to Bundler 10.0.10 you might get the following error when bringing up Rails: /usr/lib/ruby/1.9.1/psych.rb:148:in...

Note that you cannot currently use Ruby 1.9.2 with Rails 2 applications that use RSpec, so don't upgrade if...

phantomjs.org

PhantomJS is a minimalistic headless WebKit. It has fast and native support for various web standards: DOM handling, CSS selector...

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...

makandra dev
cch4rails.blogspot.com

List of global variables available to a Ruby script.

Specify these gem versions in your Gemfile: gem 'cucumber', '~> 1.3.0' gem 'cucumber-rails', '= 0.3.2' # max version for Rails 2

I don't like those buttons inside the header area of a message that Thunderbird 3 put there. Though the...

ctan.larsko.net

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...

makandra dev
github.com

The shell variable PS1 holds your bash prompt. You might want to change it to serve your needs best. Here...

Add deprecation warnings and their solution or link to available solutions. Global access to Rake DSL methods is deprecated. Please...

robots.thoughtbot.com

Type looking a little flabby? Overweight? Want to give it a kick in the pants? Take a look at some...

If in your application your users pass along params that result in filenames, like invoices/generated?number=123. This could be...

bonsaiden.github.com

JavaScript Garden is a growing collection of documentation about the most quirky parts of the JavaScript programming language. It gives...

makandra dev
pixelbeat.org

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...

Depending on where you live, different rules are used to determine the number of the week and a weekday. You...

You can find ActiveRecord models by using a Range as its conditions: User.scoped(:conditions => { :id => 3..5 }) This will generate...

If you have the following deprecation warning after upgrading to rails >= 2.3.10 DEPRECATION WARNING: The :overwrite_params option is deprecated...

track down warnings and to see failing specs immediately or to get an overview of the core...

When you click a link or a press a button on a Selenium-controlled browser, the call will return control...

teddziuba.com

Around the time in my life when I stopped ordering drinks made with more than one ingredient, I was woken...

api.jquery.com

jQuery offers many different methods to move a selection through the DOM tree. These are the most important: $element.find(selector...