Log in Sign up
2 Matching Annotations
  1. Feb 2022
  2. blog.saeloun.com blog.saeloun.com
    Rails 7 adds accepts_nested_attributes_for support for delegated_type
    1
    1. TylerRick 10 Feb 2022
      in Public
      class Note < ApplicationRecord delegated_type :authorable, types: %w[ Customer Employee ] end
      ActiveRecord: associations: delegated_type
    Visit annotations in context

    Tags

    • ActiveRecord: associations: delegated_type

    Annotators

    • TylerRick

    URL

    blog.saeloun.com/2022/02/02/rails-7-adds-nested-attributes-for-delegated-type.html
  3. github.com github.com
    Add delegated type to Active Record by dhh · Pull Request #39341 · rails/rails
    1
    1. TylerRick 10 Feb 2022
      in Public
      delegation (programming) Rails new feature ActiveRecord: associations: delegated_type
    Visit annotations in context

    Tags

    • delegation (programming)
    • ActiveRecord: associations: delegated_type
    • Rails
    • new feature

    Annotators

    • TylerRick

    URL

    github.com/rails/rails/pull/39341
Share:
Group. Only group members will be able to view this annotation.
Only me. No one else will be able to view this annotation.
Hypothes.is
  • About
  • Blog
  • Bioscience
  • Education
  • Jobs
  • Help
  • Contact
  • Terms of Service
  • Privacy Policy