aboutsummaryrefslogtreecommitdiffstats
path: root/lib/arel
diff options
context:
space:
mode:
authorAaron Patterson <aaron.patterson@gmail.com>2010-09-23 15:30:27 -0700
committerAaron Patterson <aaron.patterson@gmail.com>2010-09-23 15:30:27 -0700
commit2473eae11f16ec953a33b26a65c5f74be5382015 (patch)
tree8fd562927290e0e15fbf77222ec24f0257e0e95c /lib/arel
parent871c9ebde1eeaf4ee9cd256edb5133007bd8fa92 (diff)
downloadrails-2473eae11f16ec953a33b26a65c5f74be5382015.tar.gz
rails-2473eae11f16ec953a33b26a65c5f74be5382015.tar.bz2
rails-2473eae11f16ec953a33b26a65c5f74be5382015.zip
changing accessor to a writer
Diffstat (limited to 'lib/arel')
-rw-r--r--lib/arel/tree_manager.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/arel/tree_manager.rb b/lib/arel/tree_manager.rb
index 4ee4a6f219..fb5037cd9f 100644
--- a/lib/arel/tree_manager.rb
+++ b/lib/arel/tree_manager.rb
@@ -9,7 +9,7 @@ module Arel
'mysql2' => Arel::Visitors::MySQL,
}
- attr_accessor :visitor
+ attr_writer :visitor
def initialize engine
@engine = engine