Displaying 15 results from an estimated 15 matches for "createt".
Did you mean:
create
2006 May 17
0
acts_as_versioned with lock_version bug?
...The acts_as_versioned plugin works fine ... till the adjunction
of optimistic locking via the lock_version table column.
Here is the problem description:
Without optimistic locking things are fine:
# ++++ The table creation migration ++++
% cat db/migrate/001_create_tables.rb
class CreateTables < ActiveRecord::Migration
def self.up
create_table :softwares, :force => true do |t|
t.column :name, :string, :limit => 20, :null => false
t.column :version, :integer, :default => 0, :null => false
end
Software.create_versione...
2006 Jun 13
11
Question: Migration - multiple creates
I want to create a migration file that creates multiple tables, so i''m
guessing the correct format would be:
Can anyone confirm ? I''m guessing that each new create script requires a
seperate class so formatted this way. Perhaps I''m wrong.
TIA
Stuart
class CreateTable1 < ActiveRecord::Migration
def self.up
create_table :table1s do |t|
t.column :length, :string
end
end
def self.down
drop_table :table1s
end
end
class CreateTable2 < ActiveRecord::Migration
def self.up
create_table :table2s do |t|
t.column :length, :string...
2010 Feb 10
1
eval function with javascript-semantics possible in R?
...h would execute (with filename="testfile"):
items1 <- read.csv(testfile1, dec=",");
items2 <- read.csv(testfile2, dec=",");
The way I intend to use it is to define a string list containing names of
date.frames,
and interate this list to perform some function:
createTable <- function(latentVariableNames)
{
for (currentName in names(latentVariableNames))
{
doSomethingWith(currentName)
}
}
Would be grateful for any help!
Chaehan
[[alternative HTML version deleted]]
2006 Apr 25
3
belongs_to and has_many
...llow the conventions.
They also do not give enough information to understand what is going on.
In the model:
What is the "association"? Is it the field name minus the _id?
:foreign_key is the key in the other table.
:class_name is the name of the model of the other table.
------createtables.sql
CREATE TABLE admins(
id INTEGER PRIMARY KEY,
admin VARCHAR(32) NOT NULL,
);
CREATE TABLE machines(
id INTEGER PRIMARY KEY,
padmin_id REFERENCES admins(admin),
sadmin_id REFERENCES admins(admin)
)
-------models/machine.rb------------
class Machine < ActiveRecord::Base
belongs...
2005 May 18
2
Guest OS woun''t boot
...#39;'t very successfull. But now i know how to get the
dom0 Domain running.
So my Xentoo (Xen + Gentoo = Xentoo) ist coming up.
My system is configures like this:
/dev/hda1 = /boot
/dev/hda2 = /
/dev/hda3 = LVM-Partition
/dev/hda4 = SWAP
/dev/vg01/SYSP = Gentoo System for dom1
i''ve createt a lpar /dev/vg01/SYSP where i''ve copied
the new Gentoo in.
Now when i try to start the new Domain i get:
VFS: Cannot open root device "sda1" or unknown-block(0,0)
Please append a correct "root=" boot option
Kernel panic - not syncing: VFS: Unable to mount root fs on u...
2002 May 28
0
isolinux/memdisk with harddisk image.
Hello Peter.
Thank you for writing memdisk and isolinux.
I've created a bootdisk with it, and it works gread with floppy images and
noemulation (WinXP).
I've created also a harddisk image with "nero Burning-Software". It works
with the createted CD.
But when I use the created harddisk image with memdisk. I'l receive error
Message as follows.
<<screen.jpg>>
This is my Config-File.
<<isolinux.cfg>>
Memdisk works great. I want to use it. Have you any suggestions what's going
wrong.
Best regards and th...
2000 May 22
0
bug with automatic added users ?
...th security = domain.
This works fine, but I don't want to manually put my nt-domain-users to
local users of my linux server. So I put in my smb.conf quick and
dirthy:
add user script = /usr/sbin/useradd -m -s /bin/false %u
This works, smbrun called useradd and the account would be successful
createt and return is 0, but Samba asks the user for account and
password again.
When I now restart the Samba-Services or kill the session to the
user-machine, then in the next session the former created account can be
used.
What's the matter ?
I think, after create a user, Samba must again have a l...
2006 Jan 30
12
Error: Device 769 (vbd) could not be connected. Backend device not found.
Hi,
I have installed debian 3.1 on an Intel Pentium D processor 920 ( including
vanderpool.)
The installation worked fine and i''m able to start guest-domains.
When I try to start the 5.th Guest-Domain, I Get the following error:
Error: Device 769 (vbd) could not be connected. Backend device not found.
this problem exists still if i have shutdown or destroyed all guests, after
2004 Mar 17
9
Frequency table
This must be FAQ, but I can't find it in archives or with a site search.
I am trying to construct a frequency table. I guess this should be done with
table. Or perhaps factor and split. Or prop.table. cut? findInterval? Argh!
Please correct me if what I am looking for is not called a "frequency table".
Perhaps it's called grouped data.
> zz$x9
[1] 65 70 85 65 65 65 62 55
2006 Feb 22
2
Questions about sub-folders, access...?
Hi people, iam testing samba3 on freebsd 5.4, i install samba from ports
with no problems, i have this simple smb.conf file:
[global]
workgroup = WORKGROUP
netbios name = FREEBSD
server string = Samba Server FreeBSD
security = user
encrypt passwords = yes
[public]
comment = %h Shared Public Directory
path = /opt/test
force directory
2015 Sep 24
2
problems with PJSIP install on UBUNTU 14.04
On 15-09-24 04:42 PM, Ryan, Travis wrote:
> Did something change DB-wise with PJSIP and realtime between 13.3.2
> and 13.5.0? I'm getting an unknown column error and unsure where I
> need that column and the type it needs to be.
Yes, the schema can change between versions. Following the instructions
on
2009 Jan 08
2
Samba + Windows 2003 AD
...-----------------
# cat /etc/hosts
127.0.0.1 localhost mail
127.0.1.1 mail.birke-gym.dk mail
10.3.17.1 bgdc.birke-gym.dk bgdc
--------------------------------------------------------------------------------------
Any suggestion ?
And how mutch do I have to setup on the Windows Server ? I have createt a krb. trust on it and I use the pass I gave there, but is there more I have to set ?
Sorry for my bad english, and if there is anything plz feel free to write, all help is resived with love
----
Med Venlig Hilsen / Best regards
Henrik Dige Semark
________________________________________________...
2009 Jan 05
0
HELP: Samba + Windows Server 2003 SP2 AD/DC
...------------------
# cat /etc/hosts
127.0.0.1 localhost mail
127.0.1.1 mail.birke-gym.dk mail
10.3.17.1 bgdc.birke-gym.dk bgdc
--------------------------------------------------------------------------------------
Any suggestion ?
And how mutch do I have to setup on the Windows Server ? I have createt a krb. trust on it and I use the pass I gave there, but is there more I have to set ?
Sorry for my bad english, and if there is anything plz feel free to write, all help is resived with love
----
Med Venlig Hilsen / Best regards
Henrik Dige Semark
______________________________________________...
2009 Jul 10
4
Samba(3.2.12 and 3.4.0) - Winbind - trusted domains - Problem!
...DOMAIN2:/# net rpc trustdom establish DOMAIN1
Enter DOMAIN2$'s password:
Could not connect to server SERVER-DOM1
Trust to domain DOMAIN1 established
Why is "Could not connect to server SERVER-DOM1" popup? I Have a working WINS, LMHOSTS and HOSTS File.
The trusted domain accounts are createt with this command: "smbldap-useradd -a -i -P domain1"
NSCD is NOT running on any Server!
Thx for your help :)
MfG Richard Lamboj
--
GRATIS f?r alle GMX-Mitglieder: Die maxdome Movie-FLAT!
Jetzt freischalten unter http://portal.gmx.net/de/go/maxdome01
2003 Dec 01
0
No subject
...lists.samba.org/pipermail/samba/>
Date: Tue Sep 11 04:54:19 2001
X-Original-Date: Tue, 11 Sep 2001 13:57:41 +0200
Hi samba user,
last month I had successfully installed samba2.2 on suse linux7.2.
Samba is now running as pdc in an windows NT domain. My Problem is the host
account that should be createt in the smbpasswd. If I was successfully join
to the samba domain e.g. services, and I want to rejoin to the domain (i've
been temporary in an other domain), my host account is not carefull running.
To resolve the problem I must delete the host account and create the same one.
Anybody an idea?...