Flowdock
association_primary_key() public

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/reflection.rb, line 226
      def association_primary_key
        @association_primary_key ||=
          options[:primary_key] ||
          !options[:polymorphic] && klass.primary_key ||
          'id'
      end
Register or log in to add new notes.