Displaying 2 results from an estimated 2 matches for "ghs2wiolu3leowh0uzbu5w".
2004 Nov 19
18
SingleTableInheritance Considered Harmful
...sort of a
valid technique. SingleTableInheritance is a tool of desperation,
when you can''t change your database schema to be relationally sound
and make sense.
It would in fact be nice if ActiveRecord provided support for class
table inheritance.
cjs
--
Curt Sampson <cjs-gHs2Wiolu3leoWH0uzbU5w@public.gmane.org> +81 90 7737 2974 http://www.NetBSD.org
Make up enjoying your city life...produced by BIC CAMERA
http://www.rubyonrails.org/show/Inheritance
As a note: Single Table Inheritance is extremely unrelational, and if
you’re using a DBMS to manage your data integrity, as op...
2004 Dec 07
30
Bind Variables in Active Record
OK, I have some basic functionality to support bind variables, it
appears to work with the ''old'' %s style too.
I''ve altered sanitize_conditions in
activerecord/lib/active_record/base.rb to check whether bind variables
are in the statement (/\?/). If they are, replace all the ?s to
escaped values from the arguments array. else santize and expand.
There are a few