collectiveidea/audited — pull request #99 by hron (2012-05-08 13:50:41+00:00)
Title: Introduce non_auditable_columns lazy method.

This is adopted version of pull request #78. I do not understand why it was not applied before...

Let me clarify what use case it resolves. When an user of audited creates a model and pass :only option, e.g.

```ruby
class User < ActiveRecord::Base
audited :only => [:administrator]
end
```

then `rake db:migrate` will constantly fail because Audited will call `column_names` on a model without table.

I am sure this is a typical use case and every user of audited will be frustrated when it will encounter such an error. ;)