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

web.archive.org

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

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

When working with large Sass files you will notice that the first request after a change to a Sass file...

You will occasionally need to clean out your database while keeping the schema intact, e.g. when someone inserted data in...

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

web.archive.org

When you style multiple adjacent block elements with float: left, they will be rendered next to each other similar to...

When you set both a record's association and that association's foreign key attribute, Rails does not realize you...

When calling a Sass mixins, you usually don't need to quote arguments: +tint_article(#f21) However, when a CSS...

So you are comparing two Time objects in an RSpec example, and they are not equal, although they look equal...

rhnh.net

In order to cover some edge cases you rarely care about, Range#include? will become very slow in Ruby 1.9...

After updating your RubyGems, you will probably not be able to run Capistrano any more, but receive an error similar...

Pressing the ? key will display a list of keyboard shortcuts. Available shortcuts are: |search |/| |help|?| |add story|a| |toggle backlog...

songit.posterous.com

RubyGems 1.6.0 has undergone some changes which may cause Rails 2.x applications to break with an error like this...

labs.adobe.com

"Wallaby" is the codename for an experimental technology that converts the artwork and animation contained in Adobe® Flash® Professional (FLA...

If you have content inside a page that is hidden by CSS, the following will work with Selenium, but not...

There are two ways to define a class method from a Modularity trait. Note that the usual caveats regarding class...

Sometimes you might want to know if an attribute is an associated object or a simple string, integer etc. You...

makandra dev
innig.net

If you want to get a deep understanding of how closures, blocks, procs & lambdas in Ruby work, check out the...

MySQL's MIN and MAX functions are for aggregations only. This will not work and produce an error:

google.com

Currently, only up to 500 rows of Analytics table data can be exported at a time into CSV format. If...