aeolus-incubator/tim — pull request #54 by mtaylor (2012-11-15 12:42:35+00:00)
Title: Fix issues with Rails API using <resource_id> format

Rails uses foreign key in the database in order to associate resources. For example, in order to associate an existing template with a new BaseImage the format would be as follows:

1

This goes against the resource principal as outlined here: http://www.ics.uci.edu/~fielding/pubs/dissertation/rest_arch_style.htm @ 5.2.1.1 Resources and Resource Identifiers

Instead we want to use proper resource representations of the template. i.e.: