mattsgarrison/PigLatinizer — pull request #1 by althejandro (2014-04-22 04:20:02+00:00)
Title: Homework

Here it is

I didn't make too many assumptions aside from only allowing words with letters and not needing to be able to see all entered words and translations. I also decided to store the translations since we were storing the words and left it extendable enough so there could be other translation types.

I didn't decide to make a Translator class that PigLatinTranslator extended from since the parent wouldn't really do anything since I would be overwriting the only methods used. On the other hand I decided to have the PigLatin model inherit from Translations since I could have the relation and validations on it.