acts_as_formatted 0.0.1 → 0.2.1

Sign up to get free protection for your applications and to get access to all the features.
@@ -79,8 +79,8 @@ module ActsAsFormatted
79
79
  private
80
80
 
81
81
  def update_all_formatted_content_with_timestamps!
82
- all.each do |instance|
83
- instance.update_formatted_content!
82
+ find_in_batches do |group|
83
+ group.each(&:update_formatted_content!)
84
84
  end
85
85
  end
86
86
 
metadata CHANGED
@@ -1,13 +1,13 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: acts_as_formatted
3
3
  version: !ruby/object:Gem::Version
4
- hash: 29
4
+ hash: 21
5
5
  prerelease: false
6
6
  segments:
7
7
  - 0
8
- - 0
8
+ - 2
9
9
  - 1
10
- version: 0.0.1
10
+ version: 0.2.1
11
11
  platform: ruby
12
12
  authors:
13
13
  - imedo GmbH
@@ -15,7 +15,7 @@ autorequire:
15
15
  bindir: bin
16
16
  cert_chain: []
17
17
 
18
- date: 2010-08-25 00:00:00 +02:00
18
+ date: 2010-08-27 00:00:00 +02:00
19
19
  default_executable:
20
20
  dependencies: []
21
21