Tuesday, June 12, 2012

[Rails] 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 Grimm'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 --> http://stackoverflow.com/questions/10868408/how-to-set-up-nulldb-in-rails-with-rspec 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 --> https://gist.github.com/2869276 

Thanks in advance for your helps.
Best Regards

--
Sam Serpoosh
Twitter @masihjesus

--
You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group.
To view this discussion on the web visit https://groups.google.com/d/msg/rubyonrails-talk/-/TdGjVRuYoHUJ.
To post to this group, send email to rubyonrails-talk@googlegroups.com.
To unsubscribe from this group, send email to rubyonrails-talk+unsubscribe@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en.

0 Comments:

Post a Comment

Subscribe to Post Comments [Atom]

<< Home


Real Estate