From 03647a3b7443eed0a11cd43d6cc327120e59f6a1 Mon Sep 17 00:00:00 2001 From: ven Date: Sat, 6 Oct 2018 16:51:39 +0200 Subject: Fix minor typo in code comment --- lib/action_text/attribute.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/action_text/attribute.rb b/lib/action_text/attribute.rb index 992a6a410a..2d520fa541 100644 --- a/lib/action_text/attribute.rb +++ b/lib/action_text/attribute.rb @@ -20,7 +20,7 @@ module ActionText # If you wish to preload the dependent RichText model, you can use the named scope: # # Message.all.with_rich_text_content # Avoids N+1 queries when you just want the body, not the attachments. - # Message.all.with_rich_text_content_and_emebds # Avoids N+1 queries when you just want the body and attachments. + # Message.all.with_rich_text_content_and_embeds # Avoids N+1 queries when you just want the body and attachments. def has_rich_text(name) class_eval <<-CODE, __FILE__, __LINE__ + 1 def #{name} -- cgit v1.2.3