aboutsummaryrefslogtreecommitdiffstats
path: root/activerecord
diff options
context:
space:
mode:
authorRyuta Kamizono <kamipo@gmail.com>2018-09-09 01:03:23 +0900
committerRyuta Kamizono <kamipo@gmail.com>2018-09-09 01:03:23 +0900
commitb691c2147565cd3e7c4574e01a00ded55317df8d (patch)
tree5cd883d5545db1798535c16fcc19492e4fd845ca /activerecord
parent4212a05cd35be32a7370086da503b3d7ada59bbf (diff)
downloadrails-b691c2147565cd3e7c4574e01a00ded55317df8d.tar.gz
rails-b691c2147565cd3e7c4574e01a00ded55317df8d.tar.bz2
rails-b691c2147565cd3e7c4574e01a00ded55317df8d.zip
Revert a writer for `BindParam#value`
The writer was added during Arel refactoring to pass Active Record tests at 7a29220. That is no longer used since 846832a.
Diffstat (limited to 'activerecord')
-rw-r--r--activerecord/lib/arel/nodes/bind_param.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/activerecord/lib/arel/nodes/bind_param.rb b/activerecord/lib/arel/nodes/bind_param.rb
index 53c5563d93..91e9b2b70f 100644
--- a/activerecord/lib/arel/nodes/bind_param.rb
+++ b/activerecord/lib/arel/nodes/bind_param.rb
@@ -3,7 +3,7 @@
module Arel # :nodoc: all
module Nodes
class BindParam < Node
- attr_accessor :value
+ attr_reader :value
def initialize(value)
@value = value