activerecord-rdb-adapter 0.8.3 → 0.8.4

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: d9b72f305331ea0e4e9bfe0e9ca74ab6ac208aa8205b6d0770e3e47b2f2aa12b
4
- data.tar.gz: 6ae5fa80fa3f8c6c2bfcd1fe48a0ae82491f57a458f6528363b837f1efa30d94
3
+ metadata.gz: '029bc22fa779bc97c258a254a502166fe4aa4372d6e868c441ea6a9a138b605a'
4
+ data.tar.gz: a4ca83e920a7e6263c94be5c882b2891d1cad1f3ee675f5c3587184488f4f084
5
5
  SHA512:
6
- metadata.gz: fd4cc8e30215d0c12822b85cf74b0a94d8c8d150e75f8a7017aed3a518032115b0a043aab39186d433be1b8b67ac180d290753ffd92cce9a0237aba760abb22f
7
- data.tar.gz: 8c9252c39ebfedd4f1f955398a6889e745eeb50916d36f92045a1fd124dbe29028700e36ab54b1bd3f62fa9ef798d523cbcffa1ff3478fbd09baee8f408efc2f
6
+ metadata.gz: 47dcefe2766378fce45d2ea6cc5d36fc9cae31fc569660f6ca1bfd7ef7e7187af1b9b6c86fd5b893a81ae99efbeda77f8e36dcc3aa251c7683c671b1bdfb7c66
7
+ data.tar.gz: 4085c8f2928ce05cb570773f11f0a65f46257d7584f8ca226391a2b802ae63db072e7aefa08fa6b82a6bd2097d7e3c5fd4e1166eb693e41e991ccf4e21a291f5
@@ -34,7 +34,7 @@ module ActiveRecord
34
34
  # Our Responsibility
35
35
  @config = config
36
36
  @visitor = Arel::Visitors::Rdb.new self
37
- @prepared_statements = false unless config.key?(:prepared_statements)
37
+ @prepared_statements = true unless config.key?(:prepared_statements)
38
38
  end
39
39
 
40
40
  def arel_visitor
@@ -1,11 +1,6 @@
1
1
  module Arel
2
2
  module Visitors
3
3
  class Rdb < Arel::Visitors::ToSql # :nodoc
4
-
5
- def preparable
6
- false
7
- end
8
-
9
4
  private
10
5
 
11
6
  def visit_Arel_Nodes_SelectStatement o, collector
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: activerecord-rdb-adapter
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.8.3
4
+ version: 0.8.4
5
5
  platform: ruby
6
6
  authors:
7
7
  - Andrey Lobanov (RedSoft)