removed ActiveRecord 4 has_many deprication warning

This is probably not the most ideal solution but it gets rid of the warning. :)