# "has\_many through" problems

**URL:** <https://www.ruby-forum.com/t/has-many-through-problems/74342>\
**Category:** Rails I18n\
**Created:** [November 5, 2006, 1:11am UTC](https://www.ruby-forum.com/t/has-many-through-problems/74342 "2006-11-05T01:11:29Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![azzoti](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/a/2acd7d/32.png) [@azzoti](https://www.ruby-forum.com/u/azzoti)\
**Post date:** [November 5, 2006, 1:11am UTC](https://www.ruby-forum.com/t/has-many-through-problems/74342/1 "2006-11-05T01:11:29Z")

</div>

Hello!

I have got a problem with Globalize since I installed “rbac” plugin.  
Error is as follows:

```
 :select option not allowed on translatable models (roles.*)

 Application trace:

 vendor/plugins/globalize/lib/globalize/localization/db_translate.rb:342:in 

```

`find_every' vendor/rails/activerecord/lib/active_record/base.rb:381:in`find’  
vendor/rails/activerecord/lib/active\_record/associations/has\_many\_through\_association.rb:54:in  
`find_target' vendor/rails/activerecord/lib/active_record/associations/association_proxy.rb:116:in`load\_target’  
vendor/rails/activerecord/lib/active\_record/associations/association\_proxy.rb:109:in  
`method_missing' vendor/rails/activerecord/lib/active_record/associations/has_many_through_association.rb:47:in`method\_missing’  
#{RAILS\_ROOT}/app/models/user.rb:18:in `permission?’

As I understand the problem arises because “rbac” uses constructions  
like  
has\_many :roles, :through =\> :user\_roles  
and Globalize doesn’t deal with related find method behaviour.

So my question is: is it difficult to make Globalize work with things  
like this?  
And by the way, is there a chance to release Globalize from this  
:select limitations?

Thank you!

Tim
