airblade/paper_trail — Issue #124: My two cents on what widget.versions.last.next_version should return.
Author: joshuapinter
Created: 2012-01-19 09:24:49+00:00
State: open

Awesome gem Andy.

Just reading through and noticed your call for opinions: "As an aside, I'm undecided about whether widget.versions.last.next_version should return nil or self (i.e. widget). Let me know if you have a view."

I would say return self, or widget, when this happens. That seems more intuitive, even if it masks an "incorrect" action.

Cheers,

Josh