search for: part_name

Displaying 6 results from an estimated 6 matches for "part_name".

2006 Jan 11
0
Easy Question, I Think
...39;t exist (or fail if they don''t exist in the case of PartName) and return relevant error information to the user? I know this is all wrong, but would love a few pointers on the right way to do it!! Thank you in advance... - Ian -----------------Schema ------------------ CREATE TABLE part_names ( id serial primary key, part_name character varying NOT NULL, group_id integer not null, description character varying, idx_part_name tsvector ); ALTER TABLE part_names ADD CONSTRAINT pn_group FOREIGN KEY (group_id) REFERENCES groups(id) DEFERRABLE INITIALLY DEFERRED; CREATE...
2006 Jan 12
0
Easy Question, I Think [re-post, sorry if dupe]
...39;t exist (or fail if they don''t exist in the case of PartName) and return relevant error information to the user? I know this is all wrong, but would love a few pointers on the right way to do it!! Thank you in advance... - Ian -----------------Schema ------------------ CREATE TABLE part_names ( id serial primary key, part_name character varying NOT NULL, group_id integer not null, description character varying, idx_part_name tsvector ); ALTER TABLE part_names ADD CONSTRAINT pn_group FOREIGN KEY (group_id) REFERENCES groups(id) DEFERRABLE INITIALLY DEFERRED; CREATE...
2006 Jan 12
1
Form Entity Names for Child Objects
In my controller, I do this to instantiate and populate my Part, PartName and PartNumber objects. def edit @part = Part.find(params[:id], :include => [:part_name, :part_number]) end But in the view, this doesn''t refer to the right object. I somehow need to indicate that the part_name object is a child of the part object. <%= text_field_with_auto_complete :part_name, :part_name%> If I instantiate the part_name object separately it works...
2006 Jan 13
5
Form field naming semantics question
Hi, I have a question today regarding how the various form elements in _form.rhtml are named. I understand that for a database table "persons" with a column headed by "name", then in _form.rhtml it will probably be like: <p><label for="person_name">Name><br/> <%= text_field ''person'', ''name''
2006 Jul 12
1
Adding Comments...
...s fine. The solution to rendering the comments, though, is a complete hack. I added a render_page_commentaries method to behavior.rb that just creates an ERB template, feeds the page''s commentaries through it, and splurts out the result. The radius code in page_context.rb calls this if part_name =~ /commentary/. This is obviously not an ideal solution, but it was a lot quicker than figuring out how to do it in Radius:-) My main conceptual problem in working on this is the lack of model/view separation when the view IS the model. So there you go, for what it''s worth. First, ge...
2015 Sep 24
0
[PATCH] com32/disk: add UEFI support
...*walker |= *buf; + buf++; + i++; + } + return 0; +} + +/** + * Display GPT partition details. + * + * @v gpt_part The GPT partition entry to display + */ +void disk_gpt_part_dump(const struct disk_gpt_part_entry *const gpt_part) +{ + unsigned int i; + unsigned int k; + static char part_name[73]; + char guid_text[37]; + + dprintf("----------------------------------\n" + "GPT part. LBA first __ : 0x%.16" PRIx64 "x\n" + "GPT part. LBA last ___ : 0x%.16" PRIx64 "x\n" + "GPT part. attribs ____ : 0x%.16" PRIx64 &q...