eladmeidar/rails_indexes — pull request #25 by xli (2012-01-01 05:43:54+00:00)
Title: ignore non ar model.find_xx interface matching

rescue any exception when doing model_name.constantize, for some special cases that people put non ar models inside app/models with namespace added, and also implemented ar like interface "find_xxx".

I added "test/fixtures/app/models/non_ar_model.rb" for tests, without the fix, some tests will fail, hence it does not need add another test.