Displaying 20 results from an estimated 7000 matches similar to: "Store ActiveRecord objects in session"
2012 May 15
9
help
1. Emma is performing an experiment that requires individual handling of some animals. The sizes of the animals are lognormally distributed: The natural logarithms of their sizes has a normal distribution with mean 3 and standard deviation 0.4. The time (in minutes) it takes to handle each animal is given by
10 + s · 1.5 + eε for animals with s ≤ 20 20 + s · 0.8 + eε for animals with s > 20
2012 May 15
2
R
To all moderators i guess, my question was probably not clear this is not a homework, i am trying to understand R by doing some exercise in my book.
I will however participate a course in R in august and thought it could be good to have some
knowledge before. I hoped for help from you since i have no instructor to ask, that would have been
my first choice.
thanks anyway
Lotta
2004 Jun 11
2
cdr_addon_mysql.c
Following the latest * CVS update, my MySQL was broken.
Following the update, Asterisk-addons would compile fine, but when I ran
asterisk I got the following error:
ERROR[1202489024]: cdr_addon_mysql.c:203 mysql_log: Failed to insert
into databas
I then tried using the patch (bug id 0001823) from bugs.digium.com, and
found that Asterisk-addons would no longer compile, giving me the
following
2001 Nov 17
1
rsync hangs or exists without copying anything
I am trying to mirror a file system using rsync. The command I am using
is of the form:
rsync -a /fs/home/6/ /usr/fs/home/6
/fs/home/6/ is an NFS file system, /usr/fs/home/6 is a local disk.
With versions 2.4.6 and 2.4.7pre1, rsync hangs at random places during
the building file list phase. I tried with and without -v option(s) and
tried breaking the file system down into smaller chunks with no
2008 Nov 16
8
Mirror and RaidZ on only 3 disks
Hi,
I have a small Linux server PC at home (Intel Core2 Q9300, 4 GB RAM),
and I''m seriously considering switching to OpenSolaris (Indiana,
2008.11) in the near future, mainly because of ZFS. The idea is to run
the existing CentOS 4.7 system inside a VM and let it NFS mount home
directories and other filesystems from OpenSolaris. I might migrate more
services from Linux over time, but for
2007 Dec 04
2
Help to restore mysql data on CentOS 5
Hi ,
Help is needed to restore mysql data
This is the the setup.
2 Servers running on CentOS.
one server has both apache an mysql.
the other server only has mysql database. This server has about 12000
records in the database. Last week, It had about 6000 records. then,
Someone has backed up these 6000 records to the web server. Now , We need
to backup all 12000 records to the webserver.
2006 Jun 16
1
Session state using ActiveRecord store
Hello everyone,
I''m a noob to RoR, and have been trying to find an answer to a problem I
am having.
The issue is that I would like to use ActiveRecord session store. I''ve
uncommented the line out of the environment.rb file that reads:
config.action_controller.session_store = :active_record_store
I''ve created the table for the session its structure is as follows:
2006 May 09
1
Session mgmt. bug - ActiveRecord & MemoryStore session store
Windows XP Pro
Rails 1.1.2
I need some help verifying this behavior that I''m seeing.
BUG: Objects in session which are descendants of ActiveRecord::Base lose
attributes on subsequent requests when using CGI::Session::MemoryStore.
TO REPRODUCE:
0) Set up MemoryStore as the session database manager in the appropriate
environment.rb file in config
1) Create a model object X that
2006 Jan 13
4
Flash not cleared with ActiveRecord session store
Cheers,
I''ve stumbled over a bug with 1.0 and ActiveRecord store for session
while migrating from pstore sessions.
I created the table with `rake create_sessions_table` and set
`config.action_controller.session_store = :active_record_store` in
environment.rb.
Everything runs fine except that the flash messages will not be cleared.
I get the same message everytime on everypage I
2020 Feb 06
3
commiting SAM database
We stopped the migration, because we had to many problems. For your
information:
The windows-domain was set up in 2002 with windows 2000 and was raised
up to windows 2012 over the years. The domain is responsible for the
login of all 20.000 students. So over the years they have over 170.000
Objects. For the migration we used the 4.11 sernet-packages. We started
with 32GB of RAM and noticed that
2011 Nov 23
1
MWI for non-subscribed Realtime peers?
Hi,
I have an Asterisk behind an OpenSIPS proxy. The proxy handles registrations and also SIP SUBSCRIBE for MWI. The Asterisk are configured to send NOTIFY to the proxy even when the SUBSCRIBE haven't been received. I can configure a user in sip.conf that works:
[az5134939706]
type=friend
host=xxx.xxx.xxx.xxx (IP of proxy)
port=5060
nat=no
mailbox=1234 at customer
subscribemwi=no
2002 Nov 07
2
Looking for help with PDC implementation problem
In an small business network I have built for a hospitality client, I
have several Win2K workstations and a Redhat 7.3 server using Samba for
PDC and file sharing, user's home directories, etc. Users can float as
there are not enough machines and some workers are not deskbound.
Everything works great at this stage.
No I have to integrate a Point of Sale system. The POS system runs on
Win98
2009 Feb 19
1
Switching to ActiveRecord Session Store
I''m having a problem switching from cookie sessions (the default) to
active record sessions.
I''ve created the sessions table via the rake task, uncommented the
line
config.action_controller.session_store = :active_record_store
in my environment.rb file, cleared out my browsers cookies, restarted
the server (natch), but still the it''s using cookie_store instead of
2010 Mar 11
2
logistic model diagnostics residuals.lrm {design}, residuals()
I am interested in a model diagnostic for logistic regression which is normally distributed (much like the residuals in linear regression with are ~ N(0,variance unknown).
My understanding is that most (all?) of the residuals returned by residuals.lrm {design} either don't have a well defined distribution or are distributed as Chi-Square.
Have I overlooked a residual measure or would it be
2004 Aug 31
1
Bug#269318: logcheck: /etc/logcheck/ignore.d.server (add spamassassin)
Package: logcheck
Version: 1.2.26
Severity: wishlist
Please add ignore for Spamassasin's "check" messages like:
Aug 16 19:27:54 ns spamd[23853]: checking message <20040816150710.86ADA708A8 at smtp-out.hotpop.com> for nobody:65534.
-- System Information:
Debian Release: 3.1
Architecture: i386 (i686)
Kernel: Linux 2.4.26.20040601
Locale: LANG=C, LC_CTYPE=C (ignored: LC_ALL
2005 Jan 09
2
Bug#289529: logcheck: "Ghandi" should be "Gandhi" in README.how.to.interpret
Package: logcheck
Version: 1.2.32
Severity: minor
"Ghandi" should be "Gandhi" in README.how.to.interpret, assuming that
you mean the Indian freedom fighter M.K. Gandhi a.k.a. Mahatma Gandhi.
-- System Information:
Debian Release: 3.1
APT prefers unstable
APT policy: (500, 'unstable')
Architecture: i386 (i686)
Kernel: Linux 2.6.7
Locale: LANG=C, LC_CTYPE=C
2006 Jan 30
0
Adding ActiveRecord objects to the session
Hi all,
I am creating an AJAX quoting/puchasing system and I am having a bit of
unexpected behavior when adding ActiveRecord objects to the session.
When I add the ActiveRecord object (in this case QuotePart) to the
session it automatically saves the object that was added to the session
to the DB. And the oddest part is that it automatically fills in the
foreign key field quote_id, even though
2005 Feb 12
3
Bug#294950: logcheck: ignore.d.server courier imaplogin: DISCONNECTED not matching
Package: logcheck
Version: 1.2.34
Severity: normal
the ignore.d.server pattern for courier 'imaplogin: DISCONNECTED' does
not match the following line:
Feb 12 16:19:47 backup imaplogin: DISCONNECTED,
user=example at example.com, ip=[::ffff:111.111.111.111],
headers=14013, body=0, time=1
This line should be ignored like the other DISCONNECTED messages. Or am
I wrong?
-- System
2005 Jan 14
3
Bug#290511: logcheck: syslogd restart in cron.daily/sysklogd causes a log message
Package: logcheck
Version: 1.2.32
Severity: wishlist
/etc/cron.daily/sysklogd restarts syslogd at the end of the script.
This causes a daily log message, currently missed by logcheck:
Jan 14 06:55:22 pyloric syslogd 1.4.1#16: restart (remote reception).
I'm currently using this regex in ignore.server.d/local-syslogd:
^\w{3} [ :0-9]{11} [._[:alnum:]-]+ syslogd 1\.4\.1#16: restart \(remote
2020 Feb 03
2
commiting SAM database
Anyone can give? hint how log it will take to commit the SAM database?
We joining a samba 4.11 into a windows domain:
Partition[DC=example,DC=de] objects[129301/57641] linked_values[40647/42351]
Done with always replicated NC (base, config, schema)
Replicating DC=DomainDnsZones,DC=example,DC=de
Partition[DC=DomainDnsZones,DC=example,DC=de] objects[83/79]
linked_values[0/0]
Replicating