Eric wrote:
At 09:50 AM 4/4/2005, Michael Peters wrote:I just poked around with Ruby on Rails for about 15 minutes, but it seems to have one feature that I have not found easily in Perl land, that is an easy way to deal with editing tables that have one to many relationships. "Easy" meaning that it doesn't look like you have to learn much at all to do it the first time. Some CPAN modules I have looked at that can deal with this don't make things easy IMHO. That was the only thing about it that made me thing I might use it some time.Owain wrote:
Which CPAN modules did you compare it to? Class::DBI? It should just be as simple as
My::Foo->has_many( bars => 'My::Bar' );
and then something like
$foo->add_to_bars($bar);
-or-
my @bars = $foo->bars();
Or did I miss what you were getting at?
--
Michael Peters
Developer
Plus Three, LP
---------------------------------------------------------------------
Web Archive: http://www.mail-archive.com/suppressed/
http://marc.theaimsgroup.com/?l=cgiapp&r=1&w=2
To unsubscribe, e-mail: suppressed
For additional commands, e-mail: suppressed
Mail converted by mhonarc 2.6.15
This archive provided courtesy of JSW4.NET, Internet Hosting Services for Small Business.