[Jifty-commit] r1926 - jifty/trunk/lib/Jifty/Action

jifty-commit at lists.jifty.org jifty-commit at lists.jifty.org
Sat Sep 2 23:17:48 EDT 2006


Author: nelhage
Date: Sat Sep  2 23:17:47 2006
New Revision: 1926

Modified:
   jifty/trunk/lib/Jifty/Action/Record.pm

Log:
No longer generating arguments on C<Jifty::Action::Record> for fields
that C<refer_to> C<Jifty::DBI::Collection>s, since we can't do
anything useful with them right now anyways.


Modified: jifty/trunk/lib/Jifty/Action/Record.pm
==============================================================================
--- jifty/trunk/lib/Jifty/Action/Record.pm	(original)
+++ jifty/trunk/lib/Jifty/Action/Record.pm	Sat Sep  2 23:17:47 2006
@@ -201,6 +201,11 @@
                     ];
 
                     $info->{render_as} = 'Select';
+                } else {
+                    # No need to generate arguments for
+                    # JDBI::Collections, as we can't do anything
+                    # useful with them yet, anyways.
+                    next;
                 }
             }
 


More information about the Jifty-commit mailing list