Test up-to rails 4.2
Fix build_association on rails 4.2
Merge pull request #50 from arthurnn/fixes_42

fix build_association on 4.2