From 33f940f1407870f451e19c479f816edaf9ab0c1e Mon Sep 17 00:00:00 2001 From: Jason Lee Date: Sat, 6 Oct 2018 11:47:10 +0800 Subject: Fix has_rich_text with `:body` keywords error. (#16) --- lib/action_text/attribute.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'lib/action_text/attribute.rb') diff --git a/lib/action_text/attribute.rb b/lib/action_text/attribute.rb index 8439073c00..992a6a410a 100644 --- a/lib/action_text/attribute.rb +++ b/lib/action_text/attribute.rb @@ -28,7 +28,7 @@ module ActionText end def #{name}=(body) - #{name}.body = body + self.#{name}.body = body end CODE -- cgit v1.2.3