Get the valid options allowed with this relation.
Get the valid options.
Relation.valid_options
Returns:
The valid options.
Since:
2.1.0
256 257 258
# File 'lib/mongoid/relations/referenced/one.rb', line 256 def valid_options [ :as, :autosave, :dependent, :foreign_key ] end