Displaying 20 results from an estimated 90 matches similar to: "Naming Conventions"
2008 Dec 22
7
Help creating and using database
I have this problem.
I have a Job table in my db, and each job has many steps (table Step).
Is not possible to know how many steps a job has until it is created. So
when I create a new job I have a problem: I can not have a step_id in my
Job table, because it can be one step or more.
What can I do?
--
Posted via http://www.ruby-forum.com/.
--~--~---------~--~----~------------~-------~--~----~
2006 Jun 22
2
Setting an index on a collection_select
I am creating a data entry form that allows a user to fill in multiple rows
and save them all at once. In my controller, I create an array of "person"
objects and pass it to the page. On the page, I have a text field like so:
<%= text_field "person", "name", "index" => 1 %>
Note the "index" attribute, which sets the name and id
2002 Jul 31
1
Review for dummies
Ok. Not newbie, but feel like one.
Here's my question.
I am setting up a computer lab with series of W2k Pro workstations.
What is the best way to administer these with a Samba PDC?
I have NO NT servers, and really dont want one.
My main goals are:
a) easy administration
b) security so they cant crack
c) most reliable.
Can you tell me if winbind is what is needed?
Or would the best
2005 Jan 15
1
Guide to stripping Centos 3
I responded to a post in the Dell poweredge mailing list
earlier today. My answer was off the top of my head, with a
bit of experimentation. The content may be useful in the
Cenyos context as well to admin's looking to strip the size of
an install to the bare bones.
Comment welcomed. Can anyone see any packages which I have
missed?
-- Russ Herrold
---------- Forwarded message
2016 Aug 08
4
Syslinux Aarch64 porting
Hi,
Is there any information available on porting Syslinux to 64bit ARM?
Specifically, I have a Cavium ThunderX board (Gigabyte R120-T30) which
boots using UEFI - b2b.gigabyte.com/products/product-page.aspx?pid=5864#ov
I'd be very interested in getting this to work, as currently the only
option for booting on this platform is Grub 2 or EFI Stub. If anyone can
point me in the right
2006 Feb 15
10
STI Question
Hi everyone,
I have 3 types of people (for now):
Staff
Faculty
Students
To break them up into classes, but keep them in the same People table,
I''ve broken them up like so (code and ''ends'' snipped):
class Person < ActiveRecord::Base
class Employee < Person
class Staff < Employee
class Faculty < Employee
class Student < Employee
So, when I insert
2006 Mar 16
9
Help needed on STI syntax
Struggling a little with getting the syntax right for a STI model. Prob
just being a bit dense.
Couple of questions I''m hoping you guys can answer:
Assume here I''ve got:
class Person
class Manager < Person
class Slave < Person
1) How does person[:type] differ from person.type when type is the
column used to specify the subclass. They seem to output the same
2011 Mar 08
1
PowerShield Centurion 2000
G'day,
New toy, came with bundled software which is non-free, so I'm looking at
whether NUT can be convinced to play with the toy. I've never used NUT
before.
OS name and version: Ubuntu 10.10
exact NUT version: 2.4.3-1ubuntu5
NUT installation method: Ubuntu package nut
exact device name and related information:
PowerShield Centurion 2000
2020 May 31
5
I can no longer use TLS for Windows7 and Outlook
I currently use Ubuntu 20.04 with Dovecot 2.3.7.2 and OpenSSL 1.1.1f.
A few months ago there was an update to all these systems and since
then I've had to talk W7 and old Mac clients through disabling ports
993/995 with TLS enabled back to ports 143/110 without SSL or they
could not pick up email. Thunderbird users (ie; me) were unaffected.
Could anyone share a set of port 993/995 SSL
2005 Jun 01
1
can't see share from win2000
I have a home network with samba running on my gentoo machine. The samba
share is visible to all my home machines (XP home edition and win95). My
work laptop (win2000) however, does not show the share in the network
neighborhood. When I try to connect to the share directly by typing \
\192.168.15.141\share_name in the run dialog win2000 displays the
following message:
"There are currently no
2006 Jan 05
6
Inheritance Question
Hi,
My application has a table of People that has information about
them, and I want to have a subset of those people as Users - people
that can login to the application.
What is the best way to do this? Add columns to People that only
Users would use? I''ve read the threads on single table inheritance,
but it seemed a little bit wasteful: 10,000 people vs 50 users
For those more
2006 Jul 02
2
Problems implementing a N:M table that contains actual data
Hi everyone,
I''m currently finishing the planning phase of a small project I want to
create. I read a bunch of tutorials about ActiveRecord and the
different way to link your "tables" with belongs_to, has_many,
has_and_belong_..., etc... However I''m stillnot sure if what I''m trying
to do will work *well* with ActiveRecord.
So enough talk,
2016 Aug 10
0
Syslinux Aarch64 porting
Michael Davies wrote:
>Is there any information available on porting Syslinux to 64bit ARM?
>
>Specifically, I have a Cavium ThunderX board (Gigabyte R120-T30) which
>boots using UEFI - b2b.gigabyte.com/products/product-page.aspx?pid=5864#ov
>
>I'd be very interested in getting this to work, as currently the only
>option for booting on this platform is Grub 2 or EFI
2000 Mar 07
1
Connecting arbitrary Windows NT users to SUN/Solaris 2.6.
I have recently installed BS-Samba version 2.0.0
onto our Ultra-5 SUN/Solaris 2.6 workstation
into the /usr/local/samba directory.
I took the example of the smb.conf file and
placed it in /usr/local/samba/lib/
and made the following changes:
[globals]
map to guest = Bad User
security = share
I commented out the homes section
and added the following:
[%U]
comment = Specify UNIX user home
2009 Jul 01
2
Registrations problems to SIP-provider.
Hello List,
I'm having problems with registrating my Asterisk-server to the
SIP-provider. Yesterday all worked fine, this evening I cannot call out.
What can be wrong ?
This is my registration in sip.conf :
register => 092779077:XXXX at 85.119.188.3
This the output of SIP show peers :
asterisk*CLI> sip show peers
Name/username Host Dyn Nat ACL Port
Status
2008 Oct 26
4
Bug#503556: crashes on geode
Package: xen-hypervisor-3.2-1-i386-nonpae
Version: 3.2.1-2
Severity: important
Hello,
I just played with my new ALIX board (based on AMD Geode) and found
xen is crashing on it. The output of it is attached.
Regards,
Daniel
-- cat /proc/cpuinfo --
processor : 0
vendor_id : AuthenticAMD
cpu family : 5
model : 10
model name : Geode(TM) Integrated Processor by AMD
2011 Oct 25
14
[PATCH 0/9] Package the ocaml libraries
The following set of patches package up the ocaml libraries that are
part of the standard xen build. The patches are also currently available
at: https://github.com/jonludlam/pkg-xen/commits/for-debian
There are some things to note:
1. The 5 patches imported from xen-unstable are not, and will not go
into the xen-4.1-stable series. However, the patches were created
at the request of the
2011 Feb 28
12
[RFC PATCH] set current_state to D0 in register_slot
Hi all,
if a device doesn''t support power management (pm_cap == 0) but it is
acpi_pci_power_manageable() because there is a _PS0 method declared for
it and _EJ0 is also declared for the slot then nobody is going to set
current_state = PCI_D0 for this device. This is what I think it is
happening:
pci_enable_device
|
__pci_enable_device_flags
/* here we do not set current_state
2006 May 27
0
newbie question: creating views to submit values
Apologies for such a basic question. I''ve wracked my brain on this a
couple days so if anyone takes pity, please help me out.
I''ve been looking at STI (Single Table Inheritance) at the Rails Wiki
and decided to try it out. I got it working in the model and
controllers but can''t figure out how to make a proper view that will
take the values and add them into the
2006 Mar 21
7
Nuube Sequence problem
In my database the id for a field is 810. RoR thinks that it is 809.
My log file (below) shows that just before the insert it grabs the next
sequence value. I dont think it should do that. This causes problems
further down the line when trying to access the Person object.
Development Log file :
"SQL (0.016000) select people_seq.nextval id from dual
Person Create (0.015000) INSERT