charlotte-ruby/impressionist — pull request #70 by tyrauber (2013-03-31 16:20:10+00:00)
Title: Non-restful controller support

Controllers without models / resources would cause impressionist to throw an error on impression create, because it was unable to update the model counter cache due to lack of an impressionable_type and impressionable_id. An if statement around the counter-cache method on impressionable_type and impressionable_id solves this.