We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 9d77a0c commit 01f4983Copy full SHA for 01f4983
README.md
@@ -49,6 +49,10 @@ is_primary :on=>'is_default', :scope=>'site_id'
49
:scope => 'site_id' # scope default to different column - ie. you'll
50
# be able to define multiple languages per multiple
51
# sites and each site will have one default lang.
52
+
53
+ # Scope can be defined as array of params
54
+:scope => ['site_id', 'language_code']
55
+:scope => ['polymorphic_id', 'polymorphic_type']
56
```
57
58
##Requirements
0 commit comments