<commit_before>#[Rap Genius][rg] Clone

[rg]: http://www.rapgenius.com

##What is it?
Rap Genius is a website where you can add notes, called "annotations," to nearly anything. The idea is to better explain the thing you're adding notes to, to clarify a complex or vague sentence, or to shed light upon some poorly known fact.

##Technology Used
* Single Table Inheritance
* Polymorphic Association
* 




##ToDo
###Major Pieces

* notifications
	* Use Action Mailer
	* Implement CSS objects to notify user of it.

* CSS -- I need a lot of styling
	* Get a good color scheme, there's a preliminary one in the [notes][notes] folder


[notes]: /notes/color_palette.html

###Routes

* Change the routes to make it just user/settings. Get rid of the :id.


###
* Need to do inclues in the controller methods


###Database

####Annotations
#####Annotations are definitely done in Rails!

The annotations will be set up using a table for the annotations and then a join table between the annotation table and the document table.

The join table will store where in the document the annotation is referring to.

While there are more complex ways of doing this, the naive way seems to be the best way of actually accomplishing what I want to achieve.

* For document#show, make a helper method to put classes on the document.

Some things to do for the future in documents:

* CSS styling according to what kind of document it is.



####Changes to be made going along:
* Add an authors table to the database, remove the author field from documents and then add it to the authors table.
	* Link the authors table with the users table, if there is a link.
	* This is good, because you can post shit that is not, so to speak, yours.
	* This is for later, not for now

####Add These to the Database
* add_column :users, :location<commit_msg>Updates README<commit_after>#[Rap Genius][rg] Clone

[rg]: http://www.rapgenius.com

##What is it?
Rap Genius is a website where you can add notes, called "annotations," to nearly anything. The idea is to better explain the thing you're adding notes to, to clarify a complex or vague sentence, or to shed light upon some poorly known fact.

##Technology Used
* Single Table Inheritance
* Polymorphic Association
* 




##ToDo
###Major Pieces

* Backbone
* notifications
	* Use Action Mailer
	* Implement CSS objects to notify user of it.
	* Sendgrid
		* or associated tech

##Minor Pieces
* CSS on new user page.
* Replace purple borders with yellow.
{'fraction_non_alphanumeric': 0.06895161290322581, 'fraction_numerical': 0.0, 'mean_word_length': 4.032454361054767, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 0, 'lorem ipsum': 0, 'www.': 2, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 1, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '1805683', 'n_tokens_mistral': 710, 'n_tokens_neox': 672, 'n_words': 381}