fuel/core — pull request #1279 by ihildebrandt (2013-01-15 21:36:01+00:00)
Title: Added _write_connection property to Model_Crud to support replicated database setups

Another change to support replications. This adds a property to Model_Crud as well as replaces all instances of 'isset(static::$_connection) ? static::$_connection : null' with a call to a new method Model_Crud::get_connection(). Also added a basic unit test to confirm that get_connection() works correctly.