Skip to content

Commit 01f4983

Browse files
committed
updated readme
1 parent 9d77a0c commit 01f4983

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

README.md

+4
Original file line numberDiff line numberDiff line change
@@ -49,6 +49,10 @@ is_primary :on=>'is_default', :scope=>'site_id'
4949
:scope => 'site_id' # scope default to different column - ie. you'll
5050
# be able to define multiple languages per multiple
5151
# 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']
5256
```
5357

5458
##Requirements

0 commit comments

Comments
 (0)