Join_dependency compatibility fix for Rails master (edge rails 4.1.0.beta)

In response to tenderlove's commit 26fd5f0 of May 21, 2013 on Rails
master branch that broke Polyamorous compatibility.