diff options
author | Aaron Patterson <aaron.patterson@gmail.com> | 2012-03-27 10:53:52 -0700 |
---|---|---|
committer | Aaron Patterson <aaron.patterson@gmail.com> | 2012-03-27 10:53:52 -0700 |
commit | 9978fc40a8a5a262670279129a335845ad647f48 (patch) | |
tree | d61506d0161a75f5da24ba7d68d96e36e11095a1 | |
parent | b45466757424b98e1fe9699042d23550fd5b8751 (diff) | |
parent | 00c5435311c621453ce231b74e99c1e9539e47a7 (diff) | |
download | rails-9978fc40a8a5a262670279129a335845ad647f48.tar.gz rails-9978fc40a8a5a262670279129a335845ad647f48.tar.bz2 rails-9978fc40a8a5a262670279129a335845ad647f48.zip |
Merge pull request #113 from xuanxu/remove_relation
Remove deprecated Relation module
-rw-r--r-- | lib/arel.rb | 2 | ||||
-rw-r--r-- | lib/arel/relation.rb | 6 | ||||
-rw-r--r-- | lib/arel/tree_manager.rb | 2 |
3 files changed, 0 insertions, 10 deletions
diff --git a/lib/arel.rb b/lib/arel.rb index b27da2fb05..6d7aec64b1 100644 --- a/lib/arel.rb +++ b/lib/arel.rb @@ -12,8 +12,6 @@ require 'arel/attributes' require 'arel/compatibility/wheres' #### these are deprecated -# The Arel::Relation constant is referenced in Rails -require 'arel/relation' require 'arel/expression' #### diff --git a/lib/arel/relation.rb b/lib/arel/relation.rb deleted file mode 100644 index 87786d7701..0000000000 --- a/lib/arel/relation.rb +++ /dev/null @@ -1,6 +0,0 @@ -module Arel - ### - # This is deprecated. Fix rails, then remove this. - module Relation - end -end diff --git a/lib/arel/tree_manager.rb b/lib/arel/tree_manager.rb index 99a7164e2e..21a52d8a60 100644 --- a/lib/arel/tree_manager.rb +++ b/lib/arel/tree_manager.rb @@ -1,7 +1,5 @@ module Arel class TreeManager - # FIXME: Remove this. - include Arel::Relation include Arel::FactoryMethods attr_reader :ast, :engine |