lib/closure_tree/columns.rb in closure_tree-3.8.1 vs lib/closure_tree/columns.rb in closure_tree-3.8.2
- old
+ new
@@ -43,9 +43,17 @@
def quoted_parent_column_name
connection.quote_column_name parent_column_name
end
+ def quoted_name_column
+ connection.quote_column_name name_column
+ end
+
+ def ct_quote(field)
+ connection.quote(field)
+ end
+
def order_option
closure_tree_options[:order]
end
def with_order_option(options)