From 6a1290064de328f427f423a2060cd135285fa77a Mon Sep 17 00:00:00 2001 From: Mark Rushakoff Date: Wed, 16 May 2012 13:17:09 -0700 Subject: [PATCH] Fix typos in docs for ActiveRecord::Core::arel_table [ci skip] --- activerecord/lib/active_record/core.rb | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/activerecord/lib/active_record/core.rb b/activerecord/lib/active_record/core.rb index 737f192731..6a310bba51 100644 --- a/activerecord/lib/active_record/core.rb +++ b/activerecord/lib/active_record/core.rb @@ -127,12 +127,10 @@ def ===(object) object.is_a?(self) end - # Returns an instance of +Arel::Table+ loaded with the current - # table name + # Returns an instance of Arel::Table loaded with the current table name. # # class Post < ActiveRecord::Base # scope :published_and_commented, published.and(self.arel_table[:comments_count].gt(0)) - # end # end def arel_table @arel_table ||= Arel::Table.new(table_name, arel_engine) -- GitLab