Skip to content

Commit

Permalink
fix for private method :write_attribute call [#666] (credit: Tomoaki …
Browse files Browse the repository at this point in the history
…Hayasaka)
  • Loading branch information
ddnexus committed Nov 27, 2010
1 parent 79a7a75 commit b181477
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion hobo/lib/hobo/model/lifecycles/lifecycle.rb
Expand Up @@ -212,7 +212,7 @@ def valid_key?
end

def clear_key
record.write_attribute key_timestamp_field, nil
record.send :write_attribute, key_timestamp_field, nil
end

def invariants_satisfied?
Expand Down

0 comments on commit b181477

Please sign in to comment.