chiliproject/chiliproject — pull request #324 by marutosi (2013-07-24 05:12:25+00:00)
Title: Rails3 compatibility: scm: fix error of test_fetch_changesets_from_scratch at unit model test

On Rails 3.1, following error raises.

test_fetch_changesets_from_scratch(RepositoryGitTest):
ActiveRecord::HasManyThroughCantAssociateThroughHasOneOrManyReflection:
Cannot modify association 'Repository::Git#changes'
because the source reflection class 'Change' is associated to 'Changeset' via :has_many.
test/unit/repository_git_test.rb:68:in `test_fetch_changesets_from_scratch'