Let ActiveModel instances define partial paths.

Deprecate ActiveModel::Name#partial_path. Now you
should call #to_path directly on ActiveModel
instances.
Add a proxy_association method to association proxies, which can be called by association extensions to access information about the association. This replaces proxy_owner etc with proxy_association.owner.
Fixed failing query when performing calculation with having based on select.
Merge pull request #1969 from dmitriy-kiriyenko/calculations_with_having_on_select

ActiveRecord calculation fail when having contains conditions based on select values
Improve performance and memory usage for options_for_select with Ruby 1.8.7
Handle the empty array correctly.
Merge pull request #2305 from thedarkone/errors-include

Improve AM::Errors#include?
Reverse order fix when using function for ActiveRecord::QueryMethods Fixes #1697
Merge pull request #2309 from smasry/master

Unmangaling reverse_sql_order when function is used
contrib app minor tweak
Make Rails.application.assets available in initializers
Merge pull request #2034 from Casecommons/to_path

Allow ActiveModel-compatible instances to define their own partial paths
Rename class method to_path to _to_path and make it explicit that it is an internal method.
Move the cache to a nested hash which performs better than a hash with array as keys.
Update CHANGELOG.
MassAssignmentProtection: consider 'id' insensetive in StrictSanitizer

In order to use StrictSanitizer in test mode
Consider :id as not sensetive attribute that can be filtered from
mass assignement without exception.
Revert "Merge pull request #2309 from smasry/master"

This reverts commit 9d396ee8195e31f646e0b89158ed96f4db4ab38f, reversing
changes made to fa2bfd832c1d1e997d93c2269a485cc74782c86d.

Reason: the change broke the build.
Expanded meta-data in gemspec to include author, email, etc.; Defaults include "TODO" to prevent gems from being built without review.
Extracted version from gemspec and placed it in its own file. This is consistent with the approach taken by "bundle gem", and is expected by gems such as svenfuchs/gem-release which can be used to bump / tag versions of gems.
Moved dependencies from Gemfile to gemspec to eliminate redundant declarations.