Displaying 2 results from an estimated 2 matches for "attr_string".
2006 Jul 25
1
Node Attributes
...AttributeDate model, etc. which belongs to the Node model
polymorphically. Or what i can do is put all the Attributes in one
model, with a column in the database for every kind of type:
create_table :attributes do |t|
t.column :name, :string
t.column :type, :string
t.column :attr_string, :string
t.column :attr_text, :text
t.column :attr_integer, :integer
.
.
.
t.column :attr_boolean, :boolean
end
so to access the attribute would be through a function that does a
switch against the type.
now, which way would be better? the polymorphic way...
2009 Jan 02
0
Wine release 1.1.12
...n get_struct_type.
winecoreaudio: Remove some unnecessary text conversions by using snprintfW instead of snprintf.
comctl32: Add names for now documented toolbar messages.
configure.ac: Fix test for libresolv on Mac OS 10.4.x.
widl: Use is_string_type instead of is_attr(..., ATTR_STRING) for detecting strings.
Roderick Colenbrander (1):
d3d9: Relax color matching in bumpmap test.
Vincent Pelletier (3):
user32: Fix SPI_GETMOUSESPEED and SPI_SETMOUSESPEED.
d3d9: Set IDirect3DDevice9Impl_GetVertexShader return value to NULL on error.
wined3d: Detect intel 94...