summaryrefslogtreecommitdiff
path: root/config/initializers/postgresql_cte.rb
diff options
context:
space:
mode:
Diffstat (limited to 'config/initializers/postgresql_cte.rb')
-rw-r--r--config/initializers/postgresql_cte.rb2
1 files changed, 2 insertions, 0 deletions
diff --git a/config/initializers/postgresql_cte.rb b/config/initializers/postgresql_cte.rb
index 7f0df8949db..38a9cd68d57 100644
--- a/config/initializers/postgresql_cte.rb
+++ b/config/initializers/postgresql_cte.rb
@@ -61,11 +61,13 @@ module ActiveRecord
def with_values=(values)
raise ImmutableRelation if @loaded
+
@values[:with] = values
end
def recursive_value=(value)
raise ImmutableRelation if @loaded
+
@values[:recursive] = value
end