Permalink
Browse files

adding a convenience alias to Node

  • Loading branch information...
1 parent f68b7c4 commit e02a914fb0b8b7baac1b231badeba49e991a03b9 @tenderlove tenderlove committed Nov 29, 2010
Showing with 3 additions and 0 deletions.
  1. +3 −0 lib/arel.rb
View
@@ -21,6 +21,7 @@
require 'arel/delete_manager'
require 'arel/nodes'
+
#### these are deprecated
require 'arel/deprecated'
require 'arel/sql/engine'
@@ -33,4 +34,6 @@ module Arel
def self.sql raw_sql
Arel::Nodes::SqlLiteral.new raw_sql
end
+ ## Convenience Alias
+ Node = Arel::Nodes::Node
end

0 comments on commit e02a914

Please sign in to comment.