method
valid_options
valid_options()
public
Hide source
# File activerecord/lib/active_record/associations/builder/has_one.rb, line 7 def valid_options valid = super + [:as, :foreign_type] valid += [:through, :source, :source_type] if options[:through] valid end