Refactor journal detail creation : use ActiveRecord reflections to get foreign keys.