0

ActionText content in my Rails project appears like this

Action Text Content

This is how I am trying to render it on the erb file

<%= item.content %>

Item is a model, which looks like

class Item < ApplicationRecord
  
  has_rich_text :content
end

I am following the example on the documentation but not sure why it is not rendering without the key

felix
  • 11,304
  • 13
  • 69
  • 95

0 Answers0