# Change Log ## [v0.7.0.beta1](https://github.com/k0kubun/activerecord-precount/tree/v0.7.0.beta1) (2017-06-27) [Full Changelog](https://github.com/k0kubun/activerecord-precount/compare/v0.6.3...v0.7.0.beta1) **Closed issues:** - Rails 5.1 ActionView::Template::Error: undefined method `map' for nil:NilClass [\#24](https://github.com/k0kubun/activerecord-precount/issues/24) - fatal \(exception reentered\): [\#22](https://github.com/k0kubun/activerecord-precount/issues/22) **Merged pull requests:** - Use the latest patch version for Rails v5.1.x on ci [\#26](https://github.com/k0kubun/activerecord-precount/pull/26) ([kenju](https://github.com/kenju)) - s/query\_scope/records\_for for preloader\_extension.rb [\#25](https://github.com/k0kubun/activerecord-precount/pull/25) ([kenju](https://github.com/kenju)) ## [v0.6.3](https://github.com/k0kubun/activerecord-precount/tree/v0.6.3) (2017-02-21) [Full Changelog](https://github.com/k0kubun/activerecord-precount/compare/v0.6.2...v0.6.3) **Merged pull requests:** - Fix invalid count query with ordered association [\#23](https://github.com/k0kubun/activerecord-precount/pull/23) ([yujinakayama](https://github.com/yujinakayama)) ## [v0.6.2](https://github.com/k0kubun/activerecord-precount/tree/v0.6.2) (2016-11-02) [Full Changelog](https://github.com/k0kubun/activerecord-precount/compare/v0.6.1...v0.6.2) **Closed issues:** - NoMethodError: undefined method `destroyed?' on saving instance [\#19](https://github.com/k0kubun/activerecord-precount/issues/19) - Support association's :class\_name option set to a constant [\#18](https://github.com/k0kubun/activerecord-precount/issues/18) **Merged pull requests:** - Add patch for ActiveRecord::AutosaveAssociation [\#20](https://github.com/k0kubun/activerecord-precount/pull/20) ([takashi](https://github.com/takashi)) ## [v0.6.1](https://github.com/k0kubun/activerecord-precount/tree/v0.6.1) (2016-06-04) [Full Changelog](https://github.com/k0kubun/activerecord-precount/compare/v0.6.0...v0.6.1) **Closed issues:** - Count method performance issue [\#9](https://github.com/k0kubun/activerecord-precount/issues/9) - Vendor ActiveRecord tests [\#2](https://github.com/k0kubun/activerecord-precount/issues/2) **Merged pull requests:** - Support polymorphic precount [\#17](https://github.com/k0kubun/activerecord-precount/pull/17) ([k0kubun](https://github.com/k0kubun)) - Refactoring [\#16](https://github.com/k0kubun/activerecord-precount/pull/16) ([k0kubun](https://github.com/k0kubun)) ## [v0.6.0](https://github.com/k0kubun/activerecord-precount/tree/v0.6.0) (2016-06-02) [Full Changelog](https://github.com/k0kubun/activerecord-precount/compare/v0.5.1...v0.6.0) **Closed issues:** - Rails 5 support [\#13](https://github.com/k0kubun/activerecord-precount/issues/13) **Merged pull requests:** - Rails 5 [\#14](https://github.com/k0kubun/activerecord-precount/pull/14) ([k0kubun](https://github.com/k0kubun)) - Support Ruby 2.3.0 [\#12](https://github.com/k0kubun/activerecord-precount/pull/12) ([k0kubun](https://github.com/k0kubun)) ## [v0.5.1](https://github.com/k0kubun/activerecord-precount/tree/v0.5.1) (2015-09-09) [Full Changelog](https://github.com/k0kubun/activerecord-precount/compare/v0.5.0...v0.5.1) **Merged pull requests:** - Support an association with a scope [\#10](https://github.com/k0kubun/activerecord-precount/pull/10) ([tkawa](https://github.com/tkawa)) ## [v0.5.0](https://github.com/k0kubun/activerecord-precount/tree/v0.5.0) (2015-02-01) [Full Changelog](https://github.com/k0kubun/activerecord-precount/compare/v0.4.3...v0.5.0) **Closed issues:** - Is it possible to eager\_load count\_loader association? [\#1](https://github.com/k0kubun/activerecord-precount/issues/1) ## [v0.4.3](https://github.com/k0kubun/activerecord-precount/tree/v0.4.3) (2015-01-31) [Full Changelog](https://github.com/k0kubun/activerecord-precount/compare/v0.4.2...v0.4.3) ## [v0.4.2](https://github.com/k0kubun/activerecord-precount/tree/v0.4.2) (2015-01-31) [Full Changelog](https://github.com/k0kubun/activerecord-precount/compare/v0.4.1...v0.4.2) ## [v0.4.1](https://github.com/k0kubun/activerecord-precount/tree/v0.4.1) (2015-01-31) [Full Changelog](https://github.com/k0kubun/activerecord-precount/compare/v0.4.0...v0.4.1) ## [v0.4.0](https://github.com/k0kubun/activerecord-precount/tree/v0.4.0) (2015-01-31) [Full Changelog](https://github.com/k0kubun/activerecord-precount/compare/v0.3.3...v0.4.0) ## [v0.3.3](https://github.com/k0kubun/activerecord-precount/tree/v0.3.3) (2015-01-31) [Full Changelog](https://github.com/k0kubun/activerecord-precount/compare/v0.3.2...v0.3.3) ## [v0.3.2](https://github.com/k0kubun/activerecord-precount/tree/v0.3.2) (2015-01-30) [Full Changelog](https://github.com/k0kubun/activerecord-precount/compare/v0.3.1...v0.3.2) ## [v0.3.1](https://github.com/k0kubun/activerecord-precount/tree/v0.3.1) (2015-01-08) [Full Changelog](https://github.com/k0kubun/activerecord-precount/compare/v0.3.0...v0.3.1) ## [v0.3.0](https://github.com/k0kubun/activerecord-precount/tree/v0.3.0) (2015-01-08) [Full Changelog](https://github.com/k0kubun/activerecord-precount/compare/v0.2.2...v0.3.0) **Closed issues:** - Rails 4.2.0 [\#8](https://github.com/k0kubun/activerecord-precount/issues/8) ## [v0.2.2](https://github.com/k0kubun/activerecord-precount/tree/v0.2.2) (2014-11-23) [Full Changelog](https://github.com/k0kubun/activerecord-precount/compare/v0.2.1...v0.2.2) ## [v0.2.1](https://github.com/k0kubun/activerecord-precount/tree/v0.2.1) (2014-11-23) [Full Changelog](https://github.com/k0kubun/activerecord-precount/compare/v0.2.0...v0.2.1) **Merged pull requests:** - Add test cases [\#7](https://github.com/k0kubun/activerecord-precount/pull/7) ([k0kubun](https://github.com/k0kubun)) ## [v0.2.0](https://github.com/k0kubun/activerecord-precount/tree/v0.2.0) (2014-11-22) [Full Changelog](https://github.com/k0kubun/activerecord-precount/compare/v0.1.0...v0.2.0) **Merged pull requests:** - Change API [\#6](https://github.com/k0kubun/activerecord-precount/pull/6) ([k0kubun](https://github.com/k0kubun)) ## [v0.1.0](https://github.com/k0kubun/activerecord-precount/tree/v0.1.0) (2014-11-20) [Full Changelog](https://github.com/k0kubun/activerecord-precount/compare/v0.0.5...v0.1.0) **Merged pull requests:** - Support :class\_name option on has\_count [\#5](https://github.com/k0kubun/activerecord-precount/pull/5) ([r7kamura](https://github.com/r7kamura)) ## [v0.0.5](https://github.com/k0kubun/activerecord-precount/tree/v0.0.5) (2014-11-13) **Closed issues:** - Select limited columns [\#3](https://github.com/k0kubun/activerecord-precount/issues/3) **Merged pull requests:** - Support `has\_count :xxx, foreign\_key: :yyy` [\#4](https://github.com/k0kubun/activerecord-precount/pull/4) ([r7kamura](https://github.com/r7kamura)) \* *This Change Log was automatically generated by [github_changelog_generator](https://github.com/skywinder/Github-Changelog-Generator)*