return foreign key attribute as an integer
rails 4.1 needs the keys to be integers in order to preload. the values may have been
stored as a string or an integer.
fix typo
Merge pull request #2 from universitynow/feature/rails41_support

Feature/rails41 support