rhomobile/rhodes — pull request #142 by ziggythehamster (2013-04-22 22:30:08+00:00)
Title: [Edge] Escape table names when doing SQL queries

Rho and Rhom don't escape table names when using them in SQL queries. This prevents you from having a model called "Group" for example. This patch corrects this error and escapes the table names in places that I found that they needed to be escaped in.

This seems to only really affect fixed schema applications, since the property bag code uses some fixed table names that aren't reserved SQL operators/keywords.

This is the same set of changes from pull request #129, except applied to master (and its slightly changed structure) instead of 3-5-stable.