Update of 'The Asset Pipeline' guide for Rails 4. [ci skip]
Add ability to specify how a class is converted to Arel predicate

This adds the ability for rails apps or gems to have granular control
over how a domain object is converted to sql. One simple use case would
be to add support for Regexp. Another simple case would be something
like the following:

    class DateRange < Struct.new(:start, :end)
      def include?(date)
        (start..end).cover?(date)
      end
    end

    class DateRangePredicate
      def call(attribute, range)
        attribute.in(range.start..range.end)
      end
    end

    ActiveRecord::PredicateBuilder.register_handler(DateRange,
      DateRangePredicate.new)

More complex cases might include taking a currency object and converting
it from EUR to USD before performing the query.

By moving the existing handlers to this format, we were also able to
nicely refactor a rather nasty method in PredicateBuilder.
Added Time#middle_of_day

Added middle_of_day method to Date and DateTime
interceptor should mimick original method

This fix also makes the test order independent.
Fixing the broken URL [skip ci]
Add installation instructions for FreeBSD [ci skip]

Add packages required to setup the rails environment on FreeBSD.
Merge pull request #11653 from ankit8898/typo

Fixing the broken URL [skip ci]
Merge pull request #11651 from neerajdotname/log_should_mimick_original_log_method

interceptor should mimick original method
Merge pull request #11654 from robin850/freebsd

Add installation instructions for FreeBSD [ci skip]
Merge pull request #10879 from makaroni4/master

Added Time#middle_of_day method
Merge pull request #11358 from Alamoz/asset_pipeline

Update of 'The Asset Pipeline' guide for Rails 4.
only calculate the klass once
Revert change on ActiveRecord::Relation#order method that prepends new
order on the old ones

The previous behavior added a major backward incompatibility since it
impossible to have a upgrade path without major changes on the
application code.

We are taking the most conservative path to be consistent with the idea
of having a smoother upgrade on Rails 4.

We are reverting the behavior for what was in Rails 3.x and,
if needed, we will implement a new API to prepend the order clauses in
Rails 4.1.
Merge pull request #10673 from sgrif/master

Add ability to specify how a class is converted to Arel predicate when passed to where
Merge branch 'revert-order-prepending'

Conflicts:
	activerecord/CHANGELOG.md
Don't have a cow, man!

Remove cow => kine from default inflections but leave the test case
in place to prevent regression of the [old Trac ticket 4929][1].

[1]: http://web.archive.org/web/20090314050915/http://dev.rubyonrails.org/ticket/4929
Add CHANGELOG entry for inflection removal
Don't mutate the original inflections instance in the tests