Skip to content

Commit

Permalink
Remove unnecessary brackets. Cosmetic preference.
Browse files Browse the repository at this point in the history
  • Loading branch information
airblade committed Jul 23, 2011
1 parent 60410b9 commit 0af450e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/paper_trail/version.rb
Original file line number Diff line number Diff line change
Expand Up @@ -82,7 +82,7 @@ def reify(options = {})
# Returns what changed in this version of the item. Cf. `ActiveModel::Dirty#changes`.
# Returns nil if your `versions` table does not have an `object_changes` text column.
def changeset
if self.class.column_names.include?('object_changes')
if self.class.column_names.include? 'object_changes'
if changes = object_changes
YAML::load(changes)
else
Expand Down

0 comments on commit 0af450e

Please sign in to comment.