According to: https://stackoverflow.com/questions/34328735/imageable-type-is-not-setting-for-polymorphic-associations and https://stackoverflow.com/questions/2494452/rails-polymorphic-association-with-multiple-associations-on-the-same-model
2 lines
73 B
Plaintext
2 lines
73 B
Plaintext
$('#readouts').html('<%= j render partial: 'measurements/readouts' %>');
|