Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

make both cached and record_updated accessors in one line

  • Loading branch information...
commit 041b6c6ccb2130ee8c87db2dd53736c22a79f3e8 1 parent 1024c68
@gnufied gnufied authored
Showing with 1 addition and 2 deletions.
  1. +1 −2  activerecord/test/cases/transaction_callbacks_test.rb
View
3  activerecord/test/cases/transaction_callbacks_test.rb
@@ -298,8 +298,7 @@ class TopicWithSaveInCallback < ActiveRecord::Base
self.table_name = :topics
after_commit :cache_topic, :on => :create
after_commit :call_update, :on => :update
- attr_accessor :cached
- attr_accessor :record_updated
+ attr_accessor :cached, :record_updated
def call_update
self.record_updated = true
Please sign in to comment.
Something went wrong with that request. Please try again.