tell CPK to use Rails 4.0 beta1
change referenced of #scoped to #scope
new namespace for ConnectionSpecification::Resolver
new initialize method for Relation