APIdock / Ruby on Rails
/
Browse About
method

alias_candidate

v7.1.3.4 - Show latest stable - Class: ActiveRecord::Reflection::AbstractReflection
alias_candidate(name)
public

No documentation available.

# File activerecord/lib/active_record/reflection.rb, line 308
      def alias_candidate(name)
        "#{plural_name}_#{name}"
      end

Related methods

  • Instance methods
  • alias_candidate
  • build_association
  • build_scope
  • chain
  • check_validity_of_inverse!
  • class_name
  • constraints
  • counter_cache_column
  • counter_must_be_updated_by_has_many?
  • has_cached_counter?
  • inverse_of
  • inverse_updates_counter_cache?
  • inverse_updates_counter_in_memory?
  • inverse_which_updates_counter_cache
  • join_scope
  • join_scopes
  • klass_join_scope
  • scopes
  • strict_loading?
  • strict_loading_violation_message
  • table_name
  • through_reflection?
  • Class methods
  • new
  • Protected methods
  • protectedactual_source_reflection
  • Private methods
  • privateensure_option_not_given_as_class!
  • privatepredicate_builder
  • privateprimary_key
APIdock API Documentation Browser

© 2026 APIdock