diff --git a/doc/classes/Pickle/Session.html b/doc/classes/Pickle/Session.html
index a27dcd58..a8d59c08 100644
--- a/doc/classes/Pickle/Session.html
+++ b/doc/classes/Pickle/Session.html
@@ -162,7 +162,7 @@
Public instance methods
[show source]
-
def create_models_from_table(plural_factory, table)
factory = plural_factory.singularize
table.hashes.each do |hash|
pickle_ref = factory + (hash[factory] ? " \"#{hash.delete(factory)}\"" : "")
create_model(pickle_ref, hash)
end
end
+
def create_models_from_table(plural_factory, table)
factory = plural_factory.singularize
table.hashes.map do |hash|
pickle_ref = factory + (hash[factory] ? " \"#{hash.delete(factory)}\"" : "")
create_model(pickle_ref, hash)
end
end
@@ -295,7 +295,7 @@
Public instance methods
[show source]
-
def find_models_from_table(plural_factory, table)
factory = plural_factory.singularize
table.hashes.each do |hash|
pickle_ref = factory + (hash[factory] ? " \"#{hash.delete(factory)}\"" : "")
find_model(pickle_ref, hash)
end
end
+
def find_models_from_table(plural_factory, table)
factory = plural_factory.singularize
table.hashes.map do |hash|
pickle_ref = factory + (hash[factory] ? " \"#{hash.delete(factory)}\"" : "")
find_model(pickle_ref, hash)
end
end
diff --git a/doc/created.rid b/doc/created.rid
index ddc77606..46beb044 100644
--- a/doc/created.rid
+++ b/doc/created.rid
@@ -1 +1 @@
-Tue, 09 Mar 2010 13:17:51 +0000
+Wed, 17 Mar 2010 13:09:43 +0000
diff --git a/doc/files/History_txt.html b/doc/files/History_txt.html
index 6289e291..cb1b3369 100644
--- a/doc/files/History_txt.html
+++ b/doc/files/History_txt.html
@@ -31,12 +31,28 @@
History.txt
Last Update:
- Tue Mar 09 13:16:33 +0000 2010
+ Wed Mar 17 13:08:05 +0000 2010
+
0.2.5 - 17 Mar 2010
+
+ - 2 improvements
+
+
+ - Bugfix for find_models_via_table (failing to find models was not causing an
+ error) [Chris Flipse]
+
+
+ - find_models_via_table & create_models_via_table return the
+ found/created models [Chris Flipse, Ian White]
+
+
+
+
+
0.2.4 - 9 Mar 2010
- 1 major improvement
diff --git a/doc/files/License_txt.html b/doc/files/License_txt.html
index 8aec3265..2529a436 100644
--- a/doc/files/License_txt.html
+++ b/doc/files/License_txt.html
@@ -31,7 +31,7 @@
License.txt
Last Update:
- Tue Mar 09 13:16:56 +0000 2010
+ Tue Mar 09 13:18:38 +0000 2010
diff --git a/doc/files/README_rdoc.html b/doc/files/README_rdoc.html
index 3c9d2716..22d949ca 100644
--- a/doc/files/README_rdoc.html
+++ b/doc/files/README_rdoc.html
@@ -31,7 +31,7 @@
Last Update:
- Tue Mar 09 13:02:26 +0000 2010
+ Wed Mar 17 13:05:51 +0000 2010
@@ -125,6 +125,9 @@
Contributors
Stephan Hagemann
+
+
Chris Flipse
+
Get Started
diff --git a/doc/files/Todo_txt.html b/doc/files/Todo_txt.html
index 568beaee..3b826633 100644
--- a/doc/files/Todo_txt.html
+++ b/doc/files/Todo_txt.html
@@ -31,7 +31,7 @@
Todo.txt
Last Update:
- Tue Mar 09 11:28:00 +0000 2010
+ Tue Mar 09 13:18:38 +0000 2010
diff --git a/doc/files/lib/pickle/adapter_rb.html b/doc/files/lib/pickle/adapter_rb.html
index d17d9dfd..13864755 100644
--- a/doc/files/lib/pickle/adapter_rb.html
+++ b/doc/files/lib/pickle/adapter_rb.html
@@ -31,7 +31,7 @@
adapter.rb
Last Update:
- Tue Mar 09 11:28:00 +0000 2010
+ Tue Mar 09 13:18:38 +0000 2010
diff --git a/doc/files/lib/pickle/config_rb.html b/doc/files/lib/pickle/config_rb.html
index d58db6db..a931b5a6 100644
--- a/doc/files/lib/pickle/config_rb.html
+++ b/doc/files/lib/pickle/config_rb.html
@@ -31,7 +31,7 @@
config.rb
Last Update:
- Tue Mar 09 11:28:00 +0000 2010
+ Tue Mar 09 13:18:38 +0000 2010
diff --git a/doc/files/lib/pickle/email/parser_rb.html b/doc/files/lib/pickle/email/parser_rb.html
index fc0d3f3a..bfe2d7fe 100644
--- a/doc/files/lib/pickle/email/parser_rb.html
+++ b/doc/files/lib/pickle/email/parser_rb.html
@@ -31,7 +31,7 @@
parser.rb
Last Update:
- Tue Mar 09 11:28:00 +0000 2010
+ Tue Mar 09 13:18:38 +0000 2010
diff --git a/doc/files/lib/pickle/email/world_rb.html b/doc/files/lib/pickle/email/world_rb.html
index 4139bc02..6a17e205 100644
--- a/doc/files/lib/pickle/email/world_rb.html
+++ b/doc/files/lib/pickle/email/world_rb.html
@@ -31,7 +31,7 @@
world.rb
Last Update:
- Tue Mar 09 11:28:00 +0000 2010
+ Tue Mar 09 13:18:38 +0000 2010
diff --git a/doc/files/lib/pickle/email_rb.html b/doc/files/lib/pickle/email_rb.html
index 0b551cc1..c6a41121 100644
--- a/doc/files/lib/pickle/email_rb.html
+++ b/doc/files/lib/pickle/email_rb.html
@@ -31,7 +31,7 @@
email.rb
Last Update:
- Tue Mar 09 11:28:00 +0000 2010
+ Tue Mar 09 13:18:38 +0000 2010
diff --git a/doc/files/lib/pickle/parser/matchers_rb.html b/doc/files/lib/pickle/parser/matchers_rb.html
index d8ed02d4..f9edef4c 100644
--- a/doc/files/lib/pickle/parser/matchers_rb.html
+++ b/doc/files/lib/pickle/parser/matchers_rb.html
@@ -31,7 +31,7 @@
matchers.rb
Last Update:
- Tue Mar 09 11:28:00 +0000 2010
+ Tue Mar 09 13:18:38 +0000 2010
diff --git a/doc/files/lib/pickle/parser_rb.html b/doc/files/lib/pickle/parser_rb.html
index 82caaf61..fac21fba 100644
--- a/doc/files/lib/pickle/parser_rb.html
+++ b/doc/files/lib/pickle/parser_rb.html
@@ -31,7 +31,7 @@
parser.rb
Last Update:
- Tue Mar 09 11:28:00 +0000 2010
+ Tue Mar 09 13:18:38 +0000 2010
diff --git a/doc/files/lib/pickle/path/world_rb.html b/doc/files/lib/pickle/path/world_rb.html
index 92968e72..779e85b4 100644
--- a/doc/files/lib/pickle/path/world_rb.html
+++ b/doc/files/lib/pickle/path/world_rb.html
@@ -31,7 +31,7 @@
world.rb
Last Update:
- Tue Mar 09 11:28:00 +0000 2010
+ Tue Mar 09 13:18:38 +0000 2010
diff --git a/doc/files/lib/pickle/path_rb.html b/doc/files/lib/pickle/path_rb.html
index bf03b4e7..57d889d5 100644
--- a/doc/files/lib/pickle/path_rb.html
+++ b/doc/files/lib/pickle/path_rb.html
@@ -31,7 +31,7 @@
path.rb
Last Update:
- Tue Mar 09 11:28:00 +0000 2010
+ Tue Mar 09 13:18:38 +0000 2010
diff --git a/doc/files/lib/pickle/session/parser_rb.html b/doc/files/lib/pickle/session/parser_rb.html
index f7fdbe59..79158955 100644
--- a/doc/files/lib/pickle/session/parser_rb.html
+++ b/doc/files/lib/pickle/session/parser_rb.html
@@ -31,7 +31,7 @@
parser.rb
Last Update:
- Tue Mar 09 11:28:00 +0000 2010
+ Tue Mar 09 13:18:38 +0000 2010
diff --git a/doc/files/lib/pickle/session_rb.html b/doc/files/lib/pickle/session_rb.html
index dce0ab4f..dc3b8eb0 100644
--- a/doc/files/lib/pickle/session_rb.html
+++ b/doc/files/lib/pickle/session_rb.html
@@ -31,7 +31,7 @@
session.rb
Last Update:
- Tue Mar 09 13:14:54 +0000 2010
+ Wed Mar 17 13:05:07 +0000 2010
diff --git a/doc/files/lib/pickle/version_rb.html b/doc/files/lib/pickle/version_rb.html
index bcafd721..f71f44dc 100644
--- a/doc/files/lib/pickle/version_rb.html
+++ b/doc/files/lib/pickle/version_rb.html
@@ -31,7 +31,7 @@
version.rb
Last Update:
- Tue Mar 09 11:28:00 +0000 2010
+ Tue Mar 09 13:18:38 +0000 2010
diff --git a/doc/files/lib/pickle/world_rb.html b/doc/files/lib/pickle/world_rb.html
index 206941cc..3a197510 100644
--- a/doc/files/lib/pickle/world_rb.html
+++ b/doc/files/lib/pickle/world_rb.html
@@ -31,7 +31,7 @@
world.rb
Last Update:
- Tue Mar 09 11:28:00 +0000 2010
+ Tue Mar 09 13:18:38 +0000 2010
diff --git a/doc/files/lib/pickle_rb.html b/doc/files/lib/pickle_rb.html
index 8637c830..b28e2476 100644
--- a/doc/files/lib/pickle_rb.html
+++ b/doc/files/lib/pickle_rb.html
@@ -31,7 +31,7 @@
pickle.rb
Last Update:
- Tue Mar 09 11:28:00 +0000 2010
+ Tue Mar 09 13:18:38 +0000 2010