Change attribute name to content
This commit is contained in:
@@ -1,4 +1,5 @@
|
||||
class Article < ApplicationRecord
|
||||
has_rich_text :text
|
||||
has_rich_text :content
|
||||
validates_presence_of :title
|
||||
end
|
||||
|
||||
Reference in New Issue
Block a user