Displaying 20 results from an estimated 800 matches similar to: "Creating a safe sequence generator"
2006 Nov 10
2
Testing with foreign keys
I''m looking for a plugin/whatever for preloading fixtures, to run
tests with FKs defined.
Specifying load order just doesn''t work for me, I need to purge the
test db, load all fixtures, and only then create the FK constraints.
Any suggestions?
Isak
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
2014 Jun 04
1
samba4 and cups problem
Hello,
My envirronement:
Debian 7.5
Samba version 4.1.7 from backport
Cups 1.5.3-5
I have upgrade from samba 3 to samba4 this morning. Since, I have some
very strange error when I try to print or list the shared printer from
a windows Server:
Here is my syslog log file when I try to refresh the printers list from
a Windws 2008 server.
Jun 4 17:00:24 daisy2k11 smbd[22133]: [2014/06/04
2012 Jan 25
1
printing issue after update to 3.6.1
Hello,
we've updated to 3.6.1 yesterday, and since encounter
problems with printing for some users. There's a
descriptive error in the log.smbd, but I can't see
what to do about it really (the rest of the,
admittedly fairly ancient system, is the same base
system as the previous 3.5.5 - only a couple of security
updates were patched in during downtime).
The message in log.smbd is:
2011 Feb 15
2
Bacula
Dear all,
I get a message from root as follows;
09-Feb 11:26 bacula-dir JobId 0: Fatal error: Could not open Catalog
"MyCatalog", database "bacula".
09-Feb 11:26 bacula-dir JobId 0: Fatal error: postgresql.c:227 Unable
to connect to PostgreSQL server. Database=bacula User=bacula
Possible causes: SQL server not running; password incorrect;
max_connections exceeded.
09-Feb 11:26
2001 Nov 08
2
Command line DB reads
Is there a way to get information on a print job from the command line? For
example:
> smb_print_query smbprn.00002.a12345
jobid = pr1000-555
filename = Notepad - sample.txt
owner = dan_thibadeau
machine = mylaptop
size = 1234 bytes
or something like that?
Thanks,
Dan Thibadeau
2015 Sep 03
3
semi-OT: help needed w/ bareos
On 09/02/15 21:27, Leon Fauster wrote:
> Am 02.09.2015 um 22:18 schrieb m.roth at 5-cent.us:
>> I've got it installed on a 6.7 server, and can back up and restore for
>> Linux. Now I'm trying to do it for some users' WinDoze boxes. Trouble is,
>> all I keep finding on the Web are "how to set it up on Linux", "how to
>> install on Windoze",
2013 Oct 07
1
IAX and Variables
Hi
a new small question ;=)
We have two Asterisk, connected in IAX2.
On the first, in dialplan, we have:
exten => _XX.,1,Set(IAXVAR(ACCOUNTID)=${CDR(accountcode)})
we sent into the IAXVAR "ACCOUNTID" the accountcode.
On the second, in dialplan, we have:
exten => 18,2,AGI(Caller-ID.agi,${IAXVAR(ACCOUNTID)})
That's work, the second server get the variable.
I
2008 Nov 28
2
Dovecot as proxy for M$ Exchange mailboxes
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Hi list,
is there a way to use dovecot as proxy for m$ exchange mailboxes?
Currently, our clients not only can login to their mailboxes with
their e-mail address but also with their accountid.
Both the clients e-mail address and accountid are stored in ldap.
Now I need a way to let dovecot rewriting the client's accountid to
the respective
2010 Jun 16
1
ORAU/ORISE Job Opening - Scientific Programmer/Analyst 2
Oak Ridge Associated Universities is seeking a Scientific
Programmer/Analyst 2 to support the Occupational Exposure and Worker
Health (OEWH) Beryllium Laboratory operation, including a redesign of
the current system and incorporation of R routines into the LPT
analysis, and also to support the data analysis in the Department of
Energy (DOE) Beryllium Registry. This includes expansion of an
2015 Sep 03
2
semi-OT: help needed w/ bareos
IP wrote:
> W dniu 2015-09-03 o 13:56, mark pisze:
>> On 09/02/15 21:27, Leon Fauster wrote:
>>> Am 02.09.2015 um 22:18 schrieb m.roth at 5-cent.us:
>>>> I've got it installed on a 6.7 server, and can back up and restore for
>>>> Linux. Now I'm trying to do it for some users' WinDoze boxes.
>>>> Trouble is,
>>>> all I
2006 Jun 05
2
When adding a record in console, a parameter comes in as null even when I set it
In console, I am trying to create a User but the :account_id does not come
in. Console just gives me back :account_id => nil. Obviously I''m trying to
set it though. Silly console...
But, I can set the account_id column in my controller like so:
@user = User.new(params[:user])
@user.account_id = account.id
@user.save
Here''s what I give to the controller:
User.create :name
2006 Jun 27
4
Not Active Record Model Validation
I have a problem with ruby on rails validation
total_book_toy.rhtml
================
<%= text_field ''book1'', ''title1'' %>
<%= text_field ''book2'', ''title2'' %>
I want to validate these text_field so user can''t insert same title.
However, I was stuck how to do it.
Or maybe you have another way how to do it.
2006 Jun 19
3
Using set_primary_key breaks acts_as_tree with non-integer column
I just switched from using the standard "id" column into using my own
primary key and generating my own unique id for each record. But, this
breaks acts_as_tree.
Because my new primary key is not an integer, it breaks the SQL query
as follows:
StatementInvalid in PagesController#create
--------------------------------------------------------------------------------------
2006 Jan 11
3
How do you do a custom sql call in rails?
Hi.
I am developing an industry specific crm that allows busineses to track
customers in a particular way. Each customer will be assigned a customer
number. The first customer will have a customer number of 1, the second
customer_number = 2, etc... Note that this customer number is not global
but particular to the account that created the customer (see schema snip
below).
I need to have a
2010 Apr 09
1
Rsge: recursive parallelization
In principle, I'd like to be able to do something like this:
sge.parLapply(seq(10), function(x) parLapply(seq(x), function(x) x^2))
In practice, however, I have to resort to acrobatics like this:
sge.options(sge.remove.files=FALSE)
sge.options(sge.qsub.options='-cwd -V')
sge.parLapply(seq(10),
function(x) {
sge.options(sge.save.global=TRUE)
2015 Jan 08
4
SEMI OFF-TOPIC - Fail2ban
Hi list , someone on the list has seen this type of connection
attempts in asterisk, fail2ban does not stop
2015-01-08 14:59:47] SECURITY[21515] res_security_log.c:
SecurityEvent="ChallengeSent",EventTV="1420750787-386840",Severity="Informational",Service="SIP",EventVersion="1",AccountID="sip:100 at
2016 Sep 05
1
Samba-CUPS interface
2016-09-04 15:22 GMT+04:00 Andrew Bartlett <abartlet at samba.org>:
> On Fri, 2016-09-02 at 11:59 +0400, henri transfert via samba wrote:
> > Hi,
> >
> > One of our Samba server (4.4.5) is a print server with CUPS backend .
> > In
> > addition we are using a print management product that is itself a
> > backend
> > to cups.
> >
> >
2006 Jun 14
3
Prevent duplicate HABTM associations
Hi,
I am trying to restrict duplicate has_and_belongs_to_many associations.
I tried to find support for a association validation for duplicates but
couldn''t find anything.
I understand I could use :uniq=>true on the model association but this
would only prevent it from displaying duplicates, I want to stop
duplicate associations being inserted in the first place.
I have a vague
2006 Nov 29
2
validates_uniqueness w scope
In a one-to-many relationship (domain has_many :categories and
category belongs_to :domain)
In the category model I use:
validates_uniqueness_of :name, :case_sensitive => false
but upon creation of a category this validation is performed on ALL
domains,
can I restrict it only to the categories of the current domain, the to
which teh category being saved belongs_to ? if yes ? how ?
thanks
2008 Nov 12
5
dynamic condition for has_one and eager loading issue
Hi,
I ve defined the following relation in one of my models with a dynamic
where condition:
has_one :selection,
:foreign_key => ''object_id'',
:conditions => ''selection_type = 1 and account_id = #
{self.send(:account_id)}''
That works perfect, however when I try to eager load that relation I
am getting the following error when doing a