unixcharles/refinerycms-copywriting — pull request #34 by robyurkowski (2012-06-18 18:05:27+00:00)
Title: Respect scope as record differentiator.

Frequently, when I'm creating a site, I'll have elements that have similar names, but are differentiated by their scope (i.e. I might have a 'read more' button that's applicable to both blog and news posts). At present, copywriting will only create one entry for each 'read_more' button, whereas I hold that it is useful and expected behaviour to create multiple entries. As an analogy, you should be able to have a file called 'my_text_file.txt' in both folders Foo and Bar.

This commit addresses that shortcoming and adds an appropriate test to ensure scoping is respected.