# Tests problem - NoMethodError: private method \`gsub' called for 117681882:Fixnum

**URL:** <https://www.ruby-forum.com/t/tests-problem-nomethoderror-private-method-gsub-called-for-117681882-fixnum/169107>\
**Category:** Rails\
**Created:** [May 29, 2009, 2:24pm UTC](https://www.ruby-forum.com/t/tests-problem-nomethoderror-private-method-gsub-called-for-117681882-fixnum/169107 "2009-05-29T14:24:59Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![Piotr\_Szmielew](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/p/a3d4f5/32.png) [@Piotr\_Szmielew](https://www.ruby-forum.com/u/Piotr_Szmielew)\
**Post date:** [May 29, 2009, 2:24pm UTC](https://www.ruby-forum.com/t/tests-problem-nomethoderror-private-method-gsub-called-for-117681882-fixnum/169107/1 "2009-05-29T14:24:59Z")

</div>

Hi,  
i got very strange problem connected to tests in Rails. I got the same  
application code version as my team has, and on their computer all tests  
pass, and on my laptop (debian 5, ruby 1.8.6/1.8.7 (tried both), rails  
2.3.2) i got more then 50 errors - majority of them is variations of  
“NoMethodError: private method `gsub’ called for 117681882:Fixnum” error  
in controller.

Anyone know how to fix it/has this problem before?  
I reinstalled ruby and rails about three times, clearing gems etc every  
time but with no effect…

---

<div class="post-metadata">

**Author:** ![Piotr\_Szmielew](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/p/a3d4f5/32.png) [@Piotr\_Szmielew](https://www.ruby-forum.com/u/Piotr_Szmielew)\
**Post date:** [May 29, 2009, 5:45pm UTC](https://www.ruby-forum.com/t/tests-problem-nomethoderror-private-method-gsub-called-for-117681882-fixnum/169107/2 "2009-05-29T17:45:35Z")

</div>

Hmm, fixed.  
Problem Was sqlite as test database, setting it to mysql fix the  
problem.
