georgetmayorga/pkg-cat — pull request #3 by georgetmayorga (2014-08-07 18:23:54+00:00)
Title: An email Confirmation is sent out when package is created

I also needed to create `link` objects for the outgoing emails.

They're being stored in the database as string input from the user, in this format:
`This is a name of a link::http://link-url.com"`

So the `LinkGenerator` takes that line from a `Package` object, and `.process`es it, and turns it into a `Link` object that responds to `.name` and `.url`. A link object also needs to respond to `to_partial_path` to work with `render` in the view, and since it's not an AcitveRecord Compatible Object, I wrote the method myself.