# validate callback balks when using AR.find method

**URL:** <https://discuss.rubyonrails.org/t/validate-callback-balks-when-using-ar-find-method/40104>\
**Category:** rubyonrails-talk\
**Created:** [March 5, 2009, 8:40pm UTC](https://discuss.rubyonrails.org/t/validate-callback-balks-when-using-ar-find-method/40104 "2009-03-05T20:40:04Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![Colin\_Law1](https://avatars.discourse-cdn.com/v4/letter/c/91b2a8/32.png) [@Colin\_Law1](https://discuss.rubyonrails.org/u/Colin_Law1)\
**Post date:** [March 5, 2009, 8:40pm UTC](https://discuss.rubyonrails.org/t/validate-callback-balks-when-using-ar-find-method/40104/1 "2009-03-05T20:40:04Z")

</div>

I do exactly what you describe with no problems. Are you sure you have not just got a typo somewhere that your brain is refusing to see?

---

<div class="post-metadata">

**Author:** ![11175](https://avatars.discourse-cdn.com/v4/letter/1/8edcca/32.png) [@11175](https://discuss.rubyonrails.org/u/11175)\
**Post date:** [March 5, 2009, 8:51pm UTC](https://discuss.rubyonrails.org/t/validate-callback-balks-when-using-ar-find-method/40104/2 "2009-03-05T20:51:43Z")

</div>

Colin Law wrote:

> I do exactly what you describe with no problems. Are you sure you have not just got a typo somewhere that your brain is refusing to see?

Always a possibility. I'll keep looking. But thanks for the verification that it should work.

Other possible extenuating circumstances I realized might be worth mentioning:

- this is a 1.2.6 legacy app - PrivilegedUser is actually a subclass of an abstract class to facilitate connecting to multiple databases w/in the same app. However, this hasn't posed any problems anywhere else.

class CountyActiveRecord \< ActiveRecord::Base &nbsp;&nbsp;@@county\_domain = Thread.current[:county\_domain] &nbsp;&nbsp;self.abstract\_class = true &nbsp;&nbsp;establish\_connection("#{RAILS\_ENV}\_#{@@county\_domain}".to\_sym) end

class PrivilegedUser \< CountyActiveRecord &nbsp;&nbsp;..... etc etc..... end

-- gw
