[Ovirt-devel] [PATCH server] Simplified active_record_env to make less error-prone.

Chris Lalancette clalance at redhat.com
Wed Nov 5 15:03:24 UTC 2008


Jason Guiditta wrote:
> Too many requires to keep track of, this should make it easier until we rewrite it again.
> 
> Signed-off-by: Jason Guiditta <jguiditt at redhat.com>
> ---
>  src/dutils/active_record_env.rb         |   80 ++++---------------------------
>  src/test/unit/active_record_env_test.rb |   31 ++++++++++++
>  2 files changed, 41 insertions(+), 70 deletions(-)
>  create mode 100644 src/test/unit/active_record_env_test.rb

OK, I've done some basic testing of this, and it seems to work.  As Jason
explained to me, basically all of the things we were doing we get for free by
loading up the Rails environment.  Taskomatic seems happy with it too.

ACK

Chris Lalancette




More information about the ovirt-devel mailing list