ActiveRecord Calculations SUBQUERY_FOR_COUNT_ALIAS constant SUBQUERY_FOR_COUNT_ALIAS Ruby on Rails edge Since edge No documentation comment. On this page Support Bug Reports can be filed for the Ruby on Rails project on GitHub. Feature requests should be discussed on the rubyonrails-core forum. License Released under the MIT license.