jgarber / radiant-chronicle-extension

Provides history, diffs, and dev-only drafts to Radiant CMS
Other
42 stars 17 forks source link

First version diff shows a change from current version #26

Closed jgarber closed 15 years ago

jgarber commented 15 years ago

ActiveRecord#diff looks itself up by id when it receives no parameter. Version#diff doesn't pass it a parameter, so the first version shows up as a change from the current version (looping back around) when they differ.