Permalink
Browse files

quickfixes ActiveRecord::ConnectionNotEstablished problem as treated in

  • Loading branch information...
1 parent 8876d98 commit 6e589457e107cc3660083b376b76c97d268e7797 @ChristianPeters committed Dec 1, 2010
Showing with 8 additions and 2 deletions.
  1. +8 −2 lib/awesome_nested_set/base.rb
View
10 lib/awesome_nested_set/base.rb
@@ -255,11 +255,17 @@ def scope_column_names
end
def quoted_left_column_name
- connection.quote_column_name(left_column_name)
+ # breaks
+ #connection.quote_column_name(left_column_name)
+ # quickfix
+ left_column_name
end
def quoted_right_column_name
- connection.quote_column_name(right_column_name)
+ # breaks
+ #connection.quote_column_name(right_column_name)
+ # quickfix
+ right_column_name
end
def quoted_parent_column_name

0 comments on commit 6e58945

Please sign in to comment.