Displaying 9 results from an estimated 9 matches for "user_setting".
Did you mean:
user_settings
2006 Jan 26
2
Easy way to add properties to a model?
Hi,
I have a model (let''s say User) and I would like to add any number of
user-defined-settings to this Model. I created a UserSetting Model
with user_id, key and value. I connected them with has_many. I know
how to access these properties from a user but I would like some
methods like user.hasProperty? / user.getProperty ...
I think I know how to write these methods/finders myself but
2006 Jan 06
3
Single table inheritance - HowTo?
...;,
`updated_on` datetime default NULL,
`comments` char(255) default NULL,
PRIMARY KEY (`id`)
) ENGINE=MyISAM DEFAULT CHARSET=utf8;
And a row with a type = ''General'', and name = ''front-page''
Then I have a setting.rb model, and also general_setting.rb and
user_setting.rb, where I only have:
class <TYPE>Setting < Setting
end
So, if I do General.find_by_name(''front-page''), I expected to get the
value of the corresponding row, instead I get a nil object.
What could I possibly be doing wrong?
Thanks!
Ivan V.
2010 Aug 07
2
piegonhole seg fault with NULL user
dovecot-2.0-piegonhole commit cac6acdc4d0e:
Crash when USER is NULL. Backtrace is below. Perhaps, we should check
for NULL and bail out early?
Eray
[...]
(gdb) cont
Continuing.
Program received signal SIGSEGV, Segmentation fault.
t_strcut (str=0x0, cutchar=64 '@') at strfuncs.c:277
277 for (p = str; *p != '\0'; p++) {
(gdb) bt full
#0 t_strcut (str=0x0,
2012 Nov 01
1
2.2.alpha1 (626a9df21e62): LMTP Core Dump
Please find Backtrace for LMTP Core Dump below:
[...]
==> /var/log/dovecot/dovecot.log <==
Nov 1 11:16:14 spectre dovecot: lmtp(17245): Connect from local
Nov 1 11:16:14 spectre dovecot: lmtp(17245): Fatal: master: service(lmtp): child 17245 killed with signal 11 (core dumped)
==> /var/log/mail.log <==
Nov 1 11:16:14 spectre postfix/lmtp[17204]: 3Xsj4G11MrzNY: to=<tlx at
2010 Oct 10
3
Segfault in dovecot-lda 2.0.5
Hi,
I've recently started using dovecot-lda to handle my local maildir
deliveries from Exim. Unfortunately I've been experiencing the
occasional failed delivery - My Exim logs were showing:
Child process of virtual_dovecot_delivery transport (running
command "/usr/local/libexec/dovecot/dovecot-lda -d $local_part@$domain
-f $sender_address -a
2011 Apr 27
2
2.0.12 Coredump under Solaris 10
...ack_cur_id = 3
flags = MAIL_STORAGE_SERVICE_FLAG_DISALLOW_ROOT
user = (struct mail_storage_service_user *) 0x8088988
username = 0x807a89b "testds at domain.foo"
user_info = (const struct setting_parser_info *) 0x8089d80
user_set = (const struct mail_user_settings *) 0xfef7fc99
userdb_fields = (const char * const *) 0x807a908
error = 0xfeff0540 ""
reply = {uid = -1, gid = -1, home = 0x0, chroot = 0x0,
extra_fields = {arr = {buffer = 0x809b6b8, element_size = 4}, v =
0x809b6b8,
v_modifiable = 0x809b6b8}}
set_par...
2010 Feb 23
0
dovecot 2.0_b3 autocreate plugin bug.
New dovecot-2_beta3 installation.
dovecot plugins section:
plugin {
autocreate = Drafts
autocreate2 = Sent
autocreate3 = Spam
autocreate4 = Trash
autosubscribe = Drafts
autosubscribe2 = Sent
autosubscribe3 = Spam
autosubscribe4 = Trash
expire = Trash 30 Spam 30
expire_dict = proxy::expire
quota = maildir:Mailbox quota
quota_rule = *:storage=500M
quota_rule2 =
2009 Mar 02
3
WoW runs *only* as root (openSUSE 11.1, GeForce 8800GTS)
Before I say anything, I should probably say that I do realize that I should not be running wine as root, however for the purpose of debugging I tried it anyways ... and to my surprise found it worked.
1 The situation
First of all, this is the same installation, using the same configuration file on the same computer, etc. As a normal user Wow.exe does not even start (note that Launcher.exe does
2011 Apr 27
2
2.0.12 Coredump under Solaris 10
hi,
I've installed a testversion from 2.0.12 and getting coredumps after
login via IMAP/POP3. I don't know, if it is a simple config error or
something else.
======
dovecot: [ID 583609 local7.error] master: Error: service(imap): child
29333 killed with signal 11 (core dumped)
[ID 583609 local7.error] master: Error: service(imap): child 29335
killed with signal 11 (core dumped)
======