Remove deprecated active record method.

Rails 4 deprecates the find_or_create_by helpers. This change removes
any deprecation warnings while maintaining backwards compatibility with
Rails 3.

Change-Id: I9b5723f5b6035adaefd9be2e360a96d8a161c203