harleyttd/auditable — pull request #6 by zuf (2012-04-04 16:35:29+00:00)
Title: Fix bug in Auditable#last_change_of method

I fix bug in the last_change_of method.
But I found another issue.

This tests are broken for me.
Is auditable stores only changed fields (or values from methods)?

```ruby

let(:some_survey) { Survey.create :title => "some survey" }
it "should audit return correct changes" do
some_survey.update_attributes :title => "new title 1", :current_page => 1
some_survey.update_attributes :title => "new title 2", :current_page => 2
some_survey.update_attributes :title => "new title 3"
some_survey.update_attributes :title => "new title 4"
some_survey.update_attributes :title => "new title 5"
some_survey.audits.last.modifications.should == {"title"=>"new title 5"}
some_survey.last_change_of("current_page").should == [1, 2]
end
```