Sha256: 459a50f73488d7f77b9c7f8c1716b599083c640c420e57f7c876ddf2e96833e9
Contents?: true
Size: 406 Bytes
Versions: 27
Compression:
Stored size: 406 Bytes
Contents
# used for OracleSynonymTest, see test/synonym_test_oracle.rb # class Subject < ActiveRecord::Base # added initialization of author_email_address in the same way as in Topic class # as otherwise synonym test was failing after_initialize :set_email_address protected def set_email_address unless self.persisted? self.author_email_address = 'test@test.com' end end end
Version data entries
27 entries across 27 versions & 3 rubygems