Displaying 5 results from an estimated 5 matches for "additional_condit".
Did you mean:
additional_conds
2006 Nov 27
2
find_conditions in acts_as_ferret find_by_contents
Hi all,
Every time I try to add options for the find_conditions argument of
find_by_contents I get the following:
a = AnnotatedLink.find_by_contents(''test'', {}, {:conditions =>
''category_id IS NOT NULL''})
>> NoMethodError: You have a nil object when you didn''t expect it!
You might have expected an instance of Array.
The error occured while
2008 Jan 29
1
Virtual Alias Forwarding
...ertificates for authentication, comment the above and
uncomment the following #password_query = SELECT null AS password, '%u' AS
user
mysql_virtual_alias_maps.cf:
user = sqluser
password = sqlpasswd
hosts = 127.0.0.1
dbname = mail
#table = alias
#select_field = goto
#where_field = address
#additional_conditions = and active = '1'
query = SELECT goto FROM alias WHERE address='%s' AND active = '1'
# dovecot -n
# 1.0.7: /etc/dovecot.conf
protocols: imaps pop3s
ssl_listen(default): *:993
ssl_listen(imap): *:993
ssl_listen(pop3): *:995
ssl_cert_file: /etc/pki/tls/certs/mail.domain....
2015 Feb 02
1
quote strings passed to sql
> Am 02.02.2015 um 18:07 schrieb Juan Bernhard:
>> Hello list. I'm thinking to migrate the hole user db from system users
>> to mysql. I already did it in a test environment, but something is
>> annoying my OCD... I don't quote the variables username and password
>> sent to the mysql server. I know, the mysql user that dovecot uses only
>> has select
2010 Jun 20
0
confused with %d/%n not working....
..., 150 AS uid, 12 AS gid, concat('dirsize:storage=',quota) AS quota
FROM mailbox WHERE username ='%u' AND active ='1'
postfix:
user = mail
password = xxxx
hosts = localhost
dbname = mail
table = mailbox
select_field = CONCAT(domain,'/',maildir)
where_field = username
additional_conditions = and active = '1'
2013 Mar 14
8
Question regarding Postfix and Dovecot
...meda postfix/smtpd[15316]: cfg_get_str: /etc/postfix/
mysql_va_maps.cf: select_field = goto
Mar 13 20:23:55 andromeda postfix/smtpd[15316]: cfg_get_str: /etc/postfix/
mysql_va_maps.cf: where_field = address
Mar 13 20:23:55 andromeda postfix/smtpd[15316]: cfg_get_str: /etc/postfix/
mysql_va_maps.cf: additional_conditions = and active = '1'
Mar 13 20:23:55 andromeda postfix/smtpd[15316]: cfg_get_str: /etc/postfix/
mysql_va_maps.cf: domain =
Mar 13 20:23:55 andromeda postfix/smtpd[15316]: cfg_get_str: /etc/postfix/
mysql_va_maps.cf: hosts = 127.0.0.1
Mar 13 20:23:55 andromeda postfix/smtpd[15316]: dict_op...