olek-paperclip 2.3.3.1 → 2.3.3.2

Sign up to get free protection for your applications and to get access to all the features.
@@ -1,3 +1,3 @@
1
1
  module Paperclip
2
- VERSION = "2.3.3.1" unless defined? Paperclip::VERSION
2
+ VERSION = "2.3.3.2" unless defined? Paperclip::VERSION
3
3
  end
@@ -17,7 +17,7 @@ end
17
17
  def for_all_attachments
18
18
  klass = obtain_class
19
19
  names = obtain_attachments
20
- ids = klass.connection.select_values(klass.send(:construct_finder_sql, :select => 'id'))
20
+ ids = klass.connection.select_values(klass.send(:construct_finder_arel, :select => 'id').to_sql)
21
21
 
22
22
  ids.each do |id|
23
23
  instance = klass.find(id)
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: olek-paperclip
3
3
  version: !ruby/object:Gem::Version
4
- hash: 121
4
+ hash: 127
5
5
  prerelease:
6
6
  segments:
7
7
  - 2
8
8
  - 3
9
9
  - 3
10
- - 1
11
- version: 2.3.3.1
10
+ - 2
11
+ version: 2.3.3.2
12
12
  platform: ruby
13
13
  authors:
14
14
  - Jon Yurek
@@ -16,7 +16,7 @@ autorequire:
16
16
  bindir: bin
17
17
  cert_chain: []
18
18
 
19
- date: 2011-04-20 00:00:00 -04:00
19
+ date: 2011-07-07 00:00:00 -04:00
20
20
  default_executable:
21
21
  dependencies:
22
22
  - !ruby/object:Gem::Dependency