logo       
Google Custom Search
    AddThis Social Bookmark Button
-->

Re: Ruby on Rails and CGI::Application: msg#00008

Subject: Re: Ruby on Rails and CGI::Application
Eric wrote:
At 09:50 AM 4/4/2005, Michael Peters wrote:

Owain 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.

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/cgiapp@xxxxxxxxxxxxxxxxx/
             http://marc.theaimsgroup.com/?l=cgiapp&r=1&w=2
To unsubscribe, e-mail: cgiapp-unsubscribe@xxxxxxxxxxxxxxxxx
For additional commands, e-mail: cgiapp-help@xxxxxxxxxxxxxxxxx




<Prev in Thread] Current Thread [Next in Thread>