mirror of
https://github.com/codeninjasllc/discourse.git
synced 2024-11-27 17:46:05 -05:00
09a2d9e12c
This simply changes the strings in the order clauses in the model. The reason of the change is because the SQL generated when using symbols automatically name spaces the column with the table name. Topic.order(:title).to_sql => SELECT "topics".* FROM "topics" ORDER BY "topics"."title" ASC This also changes the scopes using lamba to use stabby lambas for consistency with other scopes. |
||
---|---|---|
.. | ||
assets | ||
controllers | ||
helpers | ||
jobs | ||
mailers | ||
models | ||
serializers | ||
services | ||
views |