has_many in Rails (< 4) seems not to support lambda { where ... } with other parameter ( :class_name )
but in Rails 4 outputs warning when used with :conditions.

Please let me know if you have a better solution :-)