legacy_migrations 0.3.0 → 0.3.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- data/VERSION +1 -1
- data/legacy_migrations.gemspec +1 -1
- data/lib/legacy_migrations.rb +8 -7
- metadata +2 -2
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
0.3.
|
1
|
+
0.3.1
|
data/legacy_migrations.gemspec
CHANGED
data/lib/legacy_migrations.rb
CHANGED
@@ -25,14 +25,15 @@ module LegacyMigrations
|
|
25
25
|
# that is retrievable in other transformations
|
26
26
|
#
|
27
27
|
# _Example_
|
28
|
+
# <tt>
|
29
|
+
# transfer_from Mammal, :to => Species, :store_as => 'new_animal' do
|
30
|
+
# match_same_name_attributes
|
31
|
+
# end
|
28
32
|
#
|
29
|
-
#
|
30
|
-
#
|
31
|
-
#
|
32
|
-
#
|
33
|
-
# transfer_from Person, :to => Animal do
|
34
|
-
# stored 'new_animal', :to => :species
|
35
|
-
# end
|
33
|
+
# transfer_from Person, :to => Animal do
|
34
|
+
# stored 'new_animal', :to => :species
|
35
|
+
# end
|
36
|
+
# </tt>
|
36
37
|
#
|
37
38
|
def transfer_from(from_table, *args, &block)
|
38
39
|
|