acts_as_archive 0.2.3 → 0.2.4
Sign up to get free protection for your applications and to get access to all the features.
- data/lib/acts_as_archive/migration.rb +1 -1
- data/require.rb +1 -1
- metadata +2 -2
@@ -32,7 +32,7 @@ module ActsAsArchive
|
|
32
32
|
connection = ActiveRecord::Base.connection
|
33
33
|
args[0] = "archived_" + ActiveRecord::Migrator.proper_table_name(args[0])
|
34
34
|
if method == :rename_table
|
35
|
-
args[1] = "archived_" + args[1]
|
35
|
+
args[1] = "archived_" + args[1].to_s
|
36
36
|
end
|
37
37
|
if connection.table_exists?(args[0])
|
38
38
|
connection.send(method, *args, &block)
|
data/require.rb
CHANGED
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: acts_as_archive
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.2.
|
4
|
+
version: 0.2.4
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Winton Welsh
|
@@ -9,7 +9,7 @@ autorequire:
|
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
11
|
|
12
|
-
date: 2010-03-
|
12
|
+
date: 2010-03-17 00:00:00 -07:00
|
13
13
|
default_executable:
|
14
14
|
dependencies:
|
15
15
|
- !ruby/object:Gem::Dependency
|