created seed.rb file and corrected broken associations