mirror of
https://github.com/rails/rails.git
synced 2022-11-09 12:12:34 -05:00
ff7948b1c2
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. |
||
---|---|---|
.. | ||
attachment_test.rb | ||
content_test.rb | ||
model_test.rb | ||
plain_text_conversion_test.rb | ||
trix_attachment_test.rb |