diff options
author | Aaron Patterson <aaron.patterson@gmail.com> | 2010-11-29 15:44:02 -0800 |
---|---|---|
committer | Aaron Patterson <aaron.patterson@gmail.com> | 2010-11-29 15:44:02 -0800 |
commit | e02a914fb0b8b7baac1b231badeba49e991a03b9 (patch) | |
tree | e88d686b00f12192f8666ba5689ca866458f9bf7 | |
parent | f68b7c4e7e25415c41308a5c37f1096a524b6d09 (diff) | |
download | rails-e02a914fb0b8b7baac1b231badeba49e991a03b9.tar.gz rails-e02a914fb0b8b7baac1b231badeba49e991a03b9.tar.bz2 rails-e02a914fb0b8b7baac1b231badeba49e991a03b9.zip |
adding a convenience alias to Node
-rw-r--r-- | lib/arel.rb | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/lib/arel.rb b/lib/arel.rb index 7b505abaf5..cf4460d463 100644 --- a/lib/arel.rb +++ b/lib/arel.rb @@ -21,6 +21,7 @@ require 'arel/update_manager' 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 |