aboutsummaryrefslogtreecommitdiffstats
path: root/lib/arel/algebra/relations/utilities
diff options
context:
space:
mode:
authorEmilio Tagua <miloops@gmail.com>2009-12-27 18:04:35 -0300
committerEmilio Tagua <miloops@gmail.com>2009-12-27 18:04:35 -0300
commitb339caca2f3c7306c3944c5fc5d8dde17ae2deb8 (patch)
treea443bebb38ffc34c3642a655c5cc9d20a22ee3d3 /lib/arel/algebra/relations/utilities
parent3ea68bc6bde539f4391cc1b96999e16c25ca0801 (diff)
downloadrails-b339caca2f3c7306c3944c5fc5d8dde17ae2deb8.tar.gz
rails-b339caca2f3c7306c3944c5fc5d8dde17ae2deb8.tar.bz2
rails-b339caca2f3c7306c3944c5fc5d8dde17ae2deb8.zip
Added lock to Arel, allowing a locking read if required.
Diffstat (limited to 'lib/arel/algebra/relations/utilities')
-rw-r--r--lib/arel/algebra/relations/utilities/compound.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/arel/algebra/relations/utilities/compound.rb b/lib/arel/algebra/relations/utilities/compound.rb
index 06bfce4ac0..9967472d88 100644
--- a/lib/arel/algebra/relations/utilities/compound.rb
+++ b/lib/arel/algebra/relations/utilities/compound.rb
@@ -2,7 +2,7 @@ module Arel
class Compound < Relation
attr_reader :relation
delegate :joins, :join?, :inserts, :taken, :skipped, :name, :externalizable?,
- :column_for, :engine, :sources,
+ :column_for, :engine, :sources, :locked,
:to => :relation
[:attributes, :wheres, :groupings, :orders].each do |operation_name|