aboutsummaryrefslogtreecommitdiffstats
path: root/activerecord/test/models
diff options
context:
space:
mode:
authorPratik Naik <pratiknaik@gmail.com>2008-10-21 14:29:41 +0100
committerPratik Naik <pratiknaik@gmail.com>2008-10-21 14:29:41 +0100
commitfa09de351c8045c7e7a0f268188ccf80c827b079 (patch)
tree529922eaddfb5575d026f214bb84b9cd5a022d23 /activerecord/test/models
parentd2f3bddaebc0d52fd4df1392c87c84333612c531 (diff)
parenta5cdb7a813515fa0cbee23101d2f911b4017ed90 (diff)
downloadrails-fa09de351c8045c7e7a0f268188ccf80c827b079.tar.gz
rails-fa09de351c8045c7e7a0f268188ccf80c827b079.tar.bz2
rails-fa09de351c8045c7e7a0f268188ccf80c827b079.zip
Merge commit 'mainstream/master'
Diffstat (limited to 'activerecord/test/models')
-rw-r--r--activerecord/test/models/company.rb8
1 files changed, 8 insertions, 0 deletions
diff --git a/activerecord/test/models/company.rb b/activerecord/test/models/company.rb
index 62d20861f3..0e3fafa37c 100644
--- a/activerecord/test/models/company.rb
+++ b/activerecord/test/models/company.rb
@@ -112,6 +112,14 @@ class Client < Company
def rating?
query_attribute :rating
end
+
+ class << self
+ private
+
+ def private_method
+ "darkness"
+ end
+ end
end