Rails Devs for Data Integrity: How to gracefully handle database key violations

April 24, 2009

Join the club: Rails Devs for Data Integrity
Some ways to handle unique and foreign key violations database exceptions gracefully in rails.

9

I lost my java googles at mysqlconf 2009

April 22, 2009

Sometimes your java googles are lost in highly available sharding cluster. What to do?

0

MySQL Conf 09: Taking ActiveRecord to the Next Level

April 22, 2009

Today I present Taking Active Record To the Next Level at the MySQL Conference and Expo! There is a lot of excitement in the Rails world due to Rails 3 merge with Merb which will provide framework agnosticism for the people. However, good, old, (sometimes not playing nice with MySQL) ActiveRecord is still the defacto [...]

1

ActiveRecord on Steroids: Optimize queries using Ar-Extensions 0.9.1

April 21, 2009

The ar-extensions plugin extends ActiveRecord to help developers scale, optimize, and customize Rails interaction with the database. New ar-extensions is the ability to fine tune queries by specifying MySQL database options from ActiveRecord find and save methods.

1

ar-extensions 0.9.1 supports INSERT SELECT for ActiveRecord

April 21, 2009

The ar-extensions plugin, which extends ActiveRecord to help optimize interaction between Rails and the database, now provides support for MySQL INSERT SELECT functionality.

3

Rails Migrations, MySQL, unsigned integers, primary keys, and a lot of fun times

April 7, 2009

By default Rails uses int(11) as the standard for primary key (id) columns. MySQL prefers unsigned numeric types. Plugin mysql_migration_optimize supports unsigned integers, column display width and complete control over the primary key. Also explained is how to use different numeric types such as tinyint and bigint with Rails Migrations.

0

When to :select and :include your rubies and rails

April 6, 2009

Although plugins exist to force :select and :include to play nice with ActiveRecord::Base.find, using this approach does not always yield the best performance. The post discusses when to use eager loading and when to use other approaches and the plugins that will help you.

0