fixed has many through join when the relation is a belong_to b belong_to c.
current code expect a has_many b belong_to c.
Merge pull request #77 from abenari/master

fixed has many through join
Bump version to 2.6.5
Fix sorting by field named "description" (Issue #75)

Ascending sort wasn't working, because we were searching the string
"description ASC" for the substring "desc".
Merge pull request #74 from rpaterson/description-descending

Fix sorting by field named "description"