diff options
author | Mark Rushakoff <mark.rushakoff@gmail.com> | 2012-05-16 13:17:09 -0700 |
---|---|---|
committer | Mark Rushakoff <mark.rushakoff@gmail.com> | 2012-05-16 13:18:08 -0700 |
commit | 6a1290064de328f427f423a2060cd135285fa77a (patch) | |
tree | 8a48eb6b0ad8dec67dacc62c7d54a80d22f07e1c /activerecord/lib | |
parent | b1dfcc968baa58d9a182ec7e129c901de0445971 (diff) | |
download | rails-6a1290064de328f427f423a2060cd135285fa77a.tar.gz rails-6a1290064de328f427f423a2060cd135285fa77a.tar.bz2 rails-6a1290064de328f427f423a2060cd135285fa77a.zip |
Fix typos in docs for ActiveRecord::Core::arel_table [ci skip]
Diffstat (limited to 'activerecord/lib')
-rw-r--r-- | activerecord/lib/active_record/core.rb | 4 |
1 files changed, 1 insertions, 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 @@ module ActiveRecord 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) |