Displaying 20 results from an estimated 20 matches for "part_numbers".
Did you mean:
part_number
2006 Jan 11
0
Easy Question, I Think
...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 TABLE part_numbers (
id serial primary key,
part_number integer NOT NULL,
constraint chk_part_number check (part_number ~''[0-9]*'')
);
CREATE TABLE parts (
id serial primary key,
part_number_id integer NOT NULL,
part_name_id integer NOT NULL,
quantity integer DEFAULT 1 NO...
2006 Jan 12
0
Easy Question, I Think [re-post, sorry if dupe]
...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 TABLE part_numbers (
id serial primary key,
part_number integer NOT NULL,
constraint chk_part_number check (part_number ~''[0-9]*'')
);
CREATE TABLE parts (
id serial primary key,
part_number_id integer NOT NULL,
part_name_id integer NOT NULL,
quantity integer DEFAULT 1 NO...
2010 May 10
1
[PATCH node] RESEND: fix iscsi installation problems
This patch fixes both local installation and iscsi installation issues
---
scripts/ovirt-config-boot | 10 ++++++----
scripts/ovirt-config-networking | 8 +++++---
scripts/ovirt-config-storage | 17 ++++++++++++++++-
scripts/ovirt-functions | 27 ++++++++++++++++++---------
4 files changed, 45 insertions(+), 17 deletions(-)
diff --git a/scripts/ovirt-config-boot
2010 Apr 09
0
[PATCH node] fix iscsi installation problems
This patch fixes a few problems encountered with installing to an iscsi backed root partition as well as a normal local disk install.
---
scripts/ovirt-config-boot | 10 ++++++----
scripts/ovirt-config-networking | 8 +++++---
scripts/ovirt-config-storage | 17 ++++++++++++++++-
scripts/ovirt-functions | 27 ++++++++++++++++++---------
4 files changed, 45 insertions(+),
2010 Mar 23
1
[PATCH node][RFC] Fix uninstall to detect and cleanup correct partitions
Previous implementation had staticly defined partitions to remove.
This would break in the case of split Root and HostVG devices.
Signed-off-by: Mike Burns <mburns at redhat.com>
---
scripts/ovirt-config-boot | 11 +--------
scripts/ovirt-config-uninstall | 49 ++++++++++++++++++++++++---------------
scripts/ovirt-functions | 27 ++++++++++++++++++++++
3 files changed, 58
2006 Apr 20
5
strange mysql problem
i have this model:
class LineItem < ActiveRecord::Base
belongs_to :quote
end
in the console:
>>l = LineItem.create
ActiveRecord::StatementInvalid: Mysql::Error: You have an error in
your SQL syntax; check the manual that corresponds to your MySQL
server version for the right syntax to use near '' , , , )'' at line 1:
INSERT INTO line_items (`qty`, `quote_id`,
2010 Mar 23
0
[PATCH node] Fix uninstall to detect and cleanup correct partitions
Previous implementation had staticly defined partitions to remove.
This would break in the case of split Root and HostVG devices.
Signed-off-by: Mike Burns <mburns at redhat.com>
---
scripts/ovirt-config-boot | 11 +--------
scripts/ovirt-config-uninstall | 48 ++++++++++++++++++++++++---------------
scripts/ovirt-functions | 33 +++++++++++++++++++++++++++
3 files
2010 Mar 24
2
[PATCH node][REPOST 1/2] Fix uninstall to detect and cleanup correct partitions
Previous implementation had staticly defined partitions to remove.
This would break in the case of split Root and HostVG devices.
Signed-off-by: Mike Burns <mburns at redhat.com>
---
scripts/ovirt-config-boot | 11 +--------
scripts/ovirt-config-uninstall | 48 ++++++++++++++++++++++++---------------
scripts/ovirt-functions | 33 +++++++++++++++++++++++++++
3 files
2010 Jan 19
1
PGError: ERROR: operator does not exist: character = integer
Hi,
I''m using PostgreSql database with the rails application,In a
functionality I''m trying to compare two attributes in a condition, one
is of type varchar and other the Integer. While doing so i''m getting the
error as below.
ActiveRecord::StatementInvalid: PGError: ERROR: operator does not exist:
character = integer
LINE 5: WHERE PART.part_number =
2006 Jan 06
2
How do I reference eagerly loaded Models in the View?
[I hope the repost isnt'' "minded". Following the advice of another
thread I''ve changed the subject to a question. If I haven''t included
important info, please ask. My database is being unduly killed. Jodi]
Cheers on-the-Rails-ers,
Before I start, I''ve read the ActiveRecord docs on eager loading, but
for the life of me, I can''t seem to get
2006 Mar 14
1
Dynamic Finders with _or_create Don''t Work?
What could cause this?
>> sdfl=PartNumber.find_by_part_number("1111111")
=> #<PartNumber:0xb78fc744 @attributes={"id"=>"11601",
"part_number"=>"1111111"}>
>> sdfl=PartNumber.find_or_create_by_part_number("1111111")
NoMethodError: undefined method `find_or_create_by_part_number'' for
PartNumber:Class
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,
2018 Aug 29
1
Panic / EL6 / KVM / kernel-2.6.32-754.2.1.el6.x86_64
Am 29.08.2018 um 23:46 schrieb Stephen John Smoogen <smooge at gmail.com>:
>
> On Wed, 29 Aug 2018 at 17:41, Leon Fauster via CentOS <centos at centos.org> wrote:
>> Since the update from kernel-2.6.32-754.2.1.el6.x86_64
>> to kernel-2.6.32-754.3.5.el6.x86_64 I can not boot my
>> KVM guests anymore!? The workstation panics immediately!
>>
>> I
2012 Sep 19
1
[PATCH 1/1] lua: Cleaned up the dmi table structure in Lua.c32 and added all missing DMI subtables
From: Hung-chi Lihn <hlihn at google.com>
In the current Lua.c32 DMI implementation, it is a flat table with dotted
names in table entries. It also misses a number DMI sub-tables.
This patch, cleans up the DMI table structure using Lua's nested table
structure and adds all missing DMI sub-tables. If a DMI sub-table is not
supported by the hardware (not filled), then the corresponding
2018 Aug 29
7
Panic / EL6 / KVM / kernel-2.6.32-754.2.1.el6.x86_64
Since the update from kernel-2.6.32-754.2.1.el6.x86_64
to kernel-2.6.32-754.3.5.el6.x86_64 I can not boot my
KVM guests anymore!? The workstation panics immediately!
I would not have expected this behavior now (last phase of OS).
It was very robust until now (Optiplex Workstation). I see some KVM
related lines in the changelog.diff. Before swimming upstream:
Does some one have problems
2006 Mar 10
5
PDF::Writer Simpletable Iteration
Hello All:
I have been working with <a
href="http://ruby-pdf.rubyforge.org/pdf-writer/index.html">Austin
Ziegler''s PDF::Writer</a> as a means to produce PDF documents from my
Rails app. I am stumped on how to iterate through a collection of items
and output them in a table format. The way I have tried it so far only
returns the last item in the collection -
2006 Jul 28
0
i need help migrating an old table
i have this big table that has columns:
partnumber, 1piece-price-break, 10K-piece-price-break, 25k, etc...
i want to split this into two tables:
part_number, id
and
price_break, price, product_id
so that, you know, the price-break columns are not stuck at fixed
values; different parts can have differnt numbers of price-breaks, etc
is there a ruby way to do this?
i have navicat, but i
2006 Jan 05
0
Keep the Queries Down or "Referencing eagerly loaded models"
Before I start, I''ve read the ActiveRecord docs on eager loading, but
for the life of me, I can''t seem to get it working.
What I mean by this, is that the eager query looks good (I can paste the
sql dump, but it looks good to me - and runs well independantly), but it
seems that I''m referencing the eagerly loaded data in a way that
activerecord doesn''t
2010 Mar 31
1
[PATCH node] Handle space in storage wwid
Quote everywhere that we reference wwid in o-c-storage, o-c-boot
and ovirt-functions.
Signed-off-by: Mike Burns <mburns at redhat.com>
---
scripts/ovirt-config-boot | 6 +-
scripts/ovirt-config-storage | 178 +++++++++++++++++++++---------------------
scripts/ovirt-functions | 38 +++++-----
3 files changed, 111 insertions(+), 111 deletions(-)
diff --git
2013 Feb 22
48
[PATCH v3 00/46] initial arm v8 (64-bit) support
This round implements all of the review comments from V2 and all patches
are now acked. Unless there are any objections I intend to apply later
this morning.
Ian.