Re: Improving ActiveRecord Part 1

Michael Koziarski
Tue, 24 May 2005 19:58:51 -0000

On 5/25/05, Jon-Carlos Rivera
<imbcmdth-PkbjNfxxIARBDgjK7y7TUQ@public.gmane.org>
wrote:
> The article _Improving_ActiveRecord_Part_1_ is now online. In it, I explore
> the current _internal_ communication structure of AR. I want to try to
> explore this topic non-critically in order to solicit feed back from other
> Rails developers. The end goal is to provide Rails the solid database
> connectivity all developers demand.
>
> Part 1 explores the problem and illustrates one of the first and most
> obvious symptoms of the underlying issue:
>
http://www.voxclandestina.com/ruby/rails/2005-05-24/improving-activerecord-part-1/

I''m pleased you''re looking into this,  there probably is some
functionality in ActiveRecord::Base which we could move into the
adapters.   However the kind of major change you''re talking about is
*highly* unlikely to be accepted for rails 1.0.  Also,  for any
changes to be accepted they have to be completely backwards compatible
with existing code.

I''m of the ''blobs are stupid'' school of thought, but
if someone else
is willing to do the work, I won''t stand in their way.   Just bear in
mind a few things:

1) Your blob problem is a corner case.

99% of applications don''t do file handling, and those that do can
probably use the file system. Backpack handles big files,   ask david
how.  If you propose changes which will either make the easy case
hard, or break existing code, it''ll probably get rejected


2) This comes up a *lot*.

Everytime the people involved just complain and explain how we don''t
*get it*.  We do get it, we just don''t need this functionality.   Send
in patches and we''ll listen,  just whinge and you''ll probably
be
completely ignored.


> Jon
> ---
> "The Supreme Personality of Godhead said: Time I am, the great
destroyer of
> the worlds, and I have come here to destroy all people. With the exception
> of you, all the soldiers here on both sides will be slain."
> (Bagavad Gita 11.32)
>
>
> _______________________________________________
> Rails mailing list
> Rails-1W37MKcQCpIf0INCOvqR/iCwEArCW2h5@public.gmane.org
> http://lists.rubyonrails.org/mailman/listinfo/rails
>


--
Cheers

Koz