aboutsummaryrefslogtreecommitdiffstats
path: root/activerecord/test/models/subject.rb
diff options
context:
space:
mode:
Diffstat (limited to 'activerecord/test/models/subject.rb')
-rw-r--r--activerecord/test/models/subject.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/activerecord/test/models/subject.rb b/activerecord/test/models/subject.rb
index 29e290825e..504f68a296 100644
--- a/activerecord/test/models/subject.rb
+++ b/activerecord/test/models/subject.rb
@@ -5,7 +5,7 @@ class Subject < ActiveRecord::Base
# as otherwise synonym test was failing
after_initialize :set_email_address
- protected
+ private
def set_email_address
unless persisted?
self.author_email_address = "test@test.com"