# File lib/globalize/active_record/class_methods.rb, line 15 def with_required_attributes required_translated_attributes.inject(scoped) do |scope, name| scope.where("#{translated_column_name(name)} IS NOT NULL") end end