Displaying 1 result from an estimated 1 matches for "rpms_development".
Did you mean:
cms_development
2006 Jan 25
1
Rails day 2: where is my association?
...for a deeper understanding of what''s
going on. most of the examples I see on the net mix functionality with
UI so it''s difficult to see what part is a "here we get data" and what
part is "here we format data"
anyway...
Here?s the setup:
CREATE DATABASE `rpms_development` ;
use rpms_development;
CREATE TABLE `packages` (
`id` INT( 255 ) NOT NULL AUTO_INCREMENT ,
`name` VARCHAR( 255 ) NOT NULL ,
`version` VARCHAR( 255 ) NOT NULL ,
`group_id` INT( 255 ) NOT NULL ,
`notes` TEXT NOT NULL ,
PRIMARY KEY ( `id` )
) TYPE = innodb;
CREATE TABLE `groups` (
`id` IN...