# Problem with simlpe captcha

**URL:** <https://www.ruby-forum.com/t/problem-with-simlpe-captcha/170668>\
**Category:** Rails\
**Created:** [June 20, 2009, 6:32pm UTC](https://www.ruby-forum.com/t/problem-with-simlpe-captcha/170668 "2009-06-20T18:32:04Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![skumar](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/s/e9c0ed/32.png) [@skumar](https://www.ruby-forum.com/u/skumar)\
**Post date:** [June 20, 2009, 6:32pm UTC](https://www.ruby-forum.com/t/problem-with-simlpe-captcha/170668/1 "2009-06-20T18:32:04Z")

</div>

Hi simple captcha works fine on my app. recently I changed my hosting  
provider and moved the app to new server. Here its not working and  
throwing error

ActionView::TemplateError (undefined method `find\_by\_key’ for  
SimpleCaptchaData():Class) on line #246 of home/register.rhtml:  
243:   
244:

  
245:   
  
246: \<%=show\_simple\_captcha  
(:object=\>“user”, :label =\> “Robot Authentication (Case Insensitive)”)  
%\>  
247:  
248:   
249: 

Not sure why? Can anyone help with it please…
