Gemfile.lock should not be ignored
Fix statistical_summary polymorphic association