Setting up nulldb for fast tests

Hello everyone,

I’m new to this group. Also I’m kind of new to rails too but I’m an
experienced developer and kind of a coach for best principles, patterns
and
practices of effective software development/testing.
I’ve developed few rails applications though and read almost fair amount
of
material for it. Currently I’m reading Avdi G.'s Objects on Rails for
having a better rails app and not forcing to some conventions
and practices which are REALLY common in rails development and will lead
to
bad OO design and poor dependency management and maintainability of the
application.

But I have some problems setting up the nulldb in my tests for having
fast
specs without depending on ActiveRecord so tightly. I posted my question
in
StackOverflow few days ago and I didn’t receive any
response yet. I really appreciate your help and guidance on this issue.
you
can find the question here →

also
I created a
gist for the complete error report and some of the related files which
can
be more helpful about the problem and it can be found here →

Thanks in advance for your helps.
Best Regards


Sam Serpoosh
Software Developer: http://masihjesus.wordpress.com
Twitter @masihjesus http://twitter.com/masihjesus