diff --git a/ruby/files_and_serialization/project_event_manager.md b/ruby/files_and_serialization/project_event_manager.md index 602d49d3eb9..7f49382da2b 100644 --- a/ruby/files_and_serialization/project_event_manager.md +++ b/ruby/files_and_serialization/project_event_manager.md @@ -70,10 +70,7 @@ ruby: No such file or directory -- lib/event_manager.rb (LoadError) If this happens, make sure the correct directory exists and try creating the file again. -For this project we are going to use the following sample data: - -- [Small Sample](https://github.com/TheOdinProject/curriculum/tree/main/ruby/files_and_serialization/event_attendees.csv) -- [Large Sample](https://github.com/TheOdinProject/curriculum/tree/main/ruby/files_and_serialization/event_attendees_full.csv) +For this project we are going to use the following [sample data](https://github.com/TheOdinProject/curriculum/tree/main/ruby/files_and_serialization/event_attendees.csv). Download the *[small sample](https://raw.githubusercontent.com/TheOdinProject/curriculum/main/ruby/files_and_serialization/event_attendees.csv)* csv file and save it in the root of the project directory, `event_manager`. Using your CLI, confirm that you are in the right directory and enter the following command: @@ -184,7 +181,7 @@ lines.each do |line| end ``` -### Skipping the header row +#### Skipping the header row The header row was a great help to us in understanding the contents of the CSV file. However, the row itself does not represent an actual attendee. To ensure that we only output attendees, we could remove the header row from the file, but that would make it difficult if we later returned to the file and tried to understand the columns of data. @@ -345,7 +342,7 @@ Before we are able to figure out our attendees' representatives, we need to solv - Some zip codes are represented with fewer than five digits -If we looked at the [larger sample of data](https://raw.githubusercontent.com/TheOdinProject/curriculum/main/ruby/files_and_serialization/event_attendees_full.csv), we would see that the majority of the shorter zip codes are from states in the north-eastern part of the United States. Many zip codes there start with 0. This data was likely stored in the database as an integer, and not as text, which caused the leading zeros to be removed. +If we looked at the [sample data](https://github.com/TheOdinProject/curriculum/tree/main/ruby/files_and_serialization/event_attendees.csv), we would see that the majority of the shorter zip codes are from states in the north-eastern part of the United States. Many zip codes there start with 0. This data was likely stored in the database as an integer, and not as text, which caused the leading zeros to be removed. So in the case of zip codes of fewer than five digits, we will assume that we can pad missing zeros to the front. @@ -1307,7 +1304,11 @@ end The method `save_thank_you_letter` requires the id of the attendee and the form letter output. -### Assignment: Clean phone numbers +### Assignment + +