Sha256: c118e43c95a071054634da7aa6aa3b295b086d4b43365e1b76d31bffeb7aeb43
Contents?: true
Size: 422 Bytes
Versions: 12
Compression:
Stored size: 422 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
12 entries across 12 versions & 1 rubygems