method

validate_options

Importance_0
v3.2.1 - Show latest stable - 0 notes - Class: HasOne
validate_options() private

No documentation

This method has no description. You can help the Ruby on Rails community by adding new notes.

Hide source
# File activerecord/lib/active_record/associations/builder/has_one.rb, line 24
      def validate_options
        valid_options = self.class.valid_options
        valid_options += self.class.through_options if options[:through]
        options.assert_valid_keys(valid_options)
      end
Register or log in to add new notes.