We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent a5b5c09 commit 88832d2Copy full SHA for 88832d2
test/activerecord_provider/models/dc_field.rb
@@ -7,6 +7,8 @@ class DCField < ActiveRecord::Base
7
8
belongs_to :dc_lang, class_name: "DCLang", optional: true
9
10
+ default_scope -> { left_outer_joins(:dc_lang) }
11
+
12
def language
13
dc_lang&.name
14
end
0 commit comments