Permalink
Browse files

Fix typos in docs for ActiveRecord::Core::arel_table [ci skip]

  • Loading branch information...
1 parent b1dfcc9 commit 6a1290064de328f427f423a2060cd135285fa77a @mark-rushakoff mark-rushakoff committed May 16, 2012
Showing with 1 addition and 3 deletions.
  1. +1 −3 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)

0 comments on commit 6a12900

Please sign in to comment.