test/models.rb in replica-1.1.0 vs test/models.rb in replica-1.2.0
- old
+ new
@@ -1,7 +1,9 @@
class Account < ActiveRecord::Base
# attributes: id, name, updated_at, created_at
+ has_many :tickets
end
class Ticket < ActiveRecord::Base
# attributes: id, title, account_id, updated_at, created_at
+ belongs_to :account
end
\ No newline at end of file