Skip to content
  • George Claghorn's avatar
    ff7948b1
    Avoid creating ActionText::RichText records unnecessarily · ff7948b1
    George Claghorn authored
    Assigning a has_one association for a persisted record saves the change immediately, so attempting to read a rich-text attribute on a persisted record without a corresponding ActionText::RichText would eagerly create one. Avoid assigning the rich text association to fix.
    ff7948b1
    Avoid creating ActionText::RichText records unnecessarily
    George Claghorn authored
    Assigning a has_one association for a persisted record saves the change immediately, so attempting to read a rich-text attribute on a persisted record without a corresponding ActionText::RichText would eagerly create one. Avoid assigning the rich text association to fix.
Loading