The unix command line tool less is a good choice for browsing logfiles. In the standard configuration, though, it does...

github.com

When internationalizing your Rails app, you'll be replacing strings like 'Please enter your name' with t('.name_prompt'). You...

For university I have to stay up-to-date with lecture documents. Since my university doesn't offer RSS feeds...

The SQL code generated by Graticule's spherical distance computation is insufficient and can lead to NULL distances in edge...

sequel.rubyforge.org

Seems like a useful gem for cases where ActiveRecord is overkill but you don't want to do everything by...

apidock.com

Using rename_column, remove_column, etc. more than once in a migration makes that migration run slower than it should...

For performance improvements (and to remove the need for eager loading), the ActsAsTaggableOn gem supports caching your tag lists directly...

When you have objects in your database that hold latitude and longitude and you want to find others that are...

Instead of running all missing migrations on your test database with rake db:migrate RAILS_ENV=test you can also...

When using state_machine you sometimes need to know whether an object may execute a certain transition. Let's take...

Forms with many inputs (600+ in my case) become extremely unresponsive on an iPad, up to the point where it...

makandra dev
blog.jquery.com

Two new methods on and off are the new way of declaring event handlers. bind, delegate and live area deprecated...

Note: This applies specifically to MySQL. In PostgreSQL for example, this is not an issue. If you care about performance...

Clearance is a gem that provides authentication functionality (e.g. login, logout). This note explains, how the clearance login, logout and...

Look here for informations how you can show the MySQL default character set. At first you need the Amazon RDS...

Web fonts are awesome. After being restricted to Arial for two decades there is finally a cross-browser way to...

To show the collation of your tables you have to login to the MySQL console and execute SHOW TABLE STATUS...

linux.die.net

You can convert git commits into patch files. Those can be used to apply to a different repository [1] or...

First keep in mind that :dependent => :destroy hooks into before_destroy. So when you use other before_destroy callbacks the...

ckeditor.com

Using the jQuery adapter breaks the built-in save function of CKEditor. Phenomenon: The page is submitted correctly, but the...

The Rails logger will store its content in a buffer and write it into the file system every 1000 lines...

Given the problem you have a new column postion and that column should be updated for all existing rows with...

When adding a new field to your model's database table, don't set any defaults in the database.

web.archive.org

Single step and slow motion for Cucumber scenarios can come in handy, especially in @javascript scenarios. # features/support/examiners.rb AfterStep('@slow_motion...