- created scaffold and api for vocabulary review game
- created a view to export content data (questions and categorization data) data as a CSV file
This took me a while because I could not get the CSV file to be parsed correctly. Question text contained commas so I could not use that as the delimiter. Instead I used tabs. The other problem I had was that there existed \n and \r characters in the question text. To fix this I found some code that effectively cleansed the string. This was the final version:
<%= v.to_s.squeeze(' ').strip.chomp.gsub("\r","").gsub("\n", "") + "\t" %>
- added a parent method to the stat model which returns the parent of the associated
- created a way to collect and pull aggregated data from individual users
This week I will be working on the tutor interface.
No comments:
Post a Comment