similar to: Transient Model Attributes in ActiveRecord

Displaying 20 results from an estimated 7000 matches similar to: "Transient Model Attributes in ActiveRecord"

2006 Jan 30
3
ActiveRecord without database
The question is this. Can I use ActiveRecord without the presence of a database? I use only YAML file for my project and I would like use the power of ActiveRecord for my models. I have not tested and so I ask you if this is possible. Thanks so much. --Reis -- Posted via http://www.ruby-forum.com/.
2005 Jul 23
11
Validation without ActiveRecord
Hello, I followed the instructions at http://wiki.rubyonrails.com/rails/show/HowToUseValidationsWithoutExtendingActiveRecord But now I''m having trouble trying to create my form view. Here''s a brief rundown of what I''ve done: - Created a class called SearchRequest that extends ValidatingBase and saved it in a file called search_request.rb and put it in my models
2004 Sep 10
2
[jamie@audible.transient.net: Bug#160155: gapless playback]
I am forwarding your request to the FLAC development mailing list. ----- Forwarded message from Jamie Heilman <jamie@audible.transient.net> ----- Date: Sun, 8 Sep 2002 16:13:32 -0700 From: Jamie Heilman <jamie@audible.transient.net> Resent-From: Jamie Heilman <jamie@audible.transient.net> To: submit@bugs.debian.org Subject: Bug#160155: gapless playback Package: xmms-flac
2011 Oct 30
1
VM with transient disk
I want to use transient disks with libvirt. According to [1], the transient disk feature has been supported since 0.9.5. Hence, I have installed libvirt 0.9.6 for Ubuntu Lucid from [2] and used the following disk configuration: <disk type='file' device='disk'> <driver name='qemu' type='raw'/> <source
2015 Sep 11
1
Re: Transient VM Usage
On Fri, Sep 11, 2015 at 04:03:20PM +0200, Michal Privoznik wrote: > On 11.09.2015 11:34, Mcburn wrote: > > Hey at all, > > > > my Name is Jens-Uwe Sperling. Iám a young student in computer science. > > I want install a VM for testing at home. > > > > i had install a VM with virt-install and the default parameters. (Number > > cpu, mem etc.) > >
2015 Sep 11
4
Transient VM Usage
Hey at all, my Name is Jens-Uwe Sperling. Iám a young student in computer science. I want install a VM for testing at home. i had install a VM with virt-install and the default parameters. (Number cpu, mem etc.) After that i install my OS and configure it. Now i want work on this image in a transient way. So i can use the OS with the given config but every change i do from now should not
2019 Oct 17
2
Transient permission denied errors when sending audit logs
Hi, In kubevirt we are running into a strange permission problem on libvirt-5.0. We see transient "Permission Denied" errors when "virAuditSend" wants to send an audit log. [1] shows the logs of one of these containers. Here an example: {"component":"virt-launcher","level":"warning","msg":"Failed to send audit message
2017 Jul 25
1
transient configure turn to persistent configure
libvirt version: 3.4.0 architecture: x86_64 ubuntu16.04-server hypervisor: kvm,qemu I call virDomainCreate create a transient vm, After a period of time ,I call virDomainDestroy, the vm configure is stil exist, the vm turn to persistent, I don't known the reason. Thanks
2012 Nov 09
1
Is there a hook for a plugin to do some transient operation on the mail body ...
... when the MUA has issued a FETCH? ? I am a Dovecot newbie ... so please bear with me if this is obvious. Basically what I am trying to do is process the mail body (in my own specific way) before Dovecot serves it up to the MUA. I want to do it as a transient operation in memory. So think of the scenario as ... ? - the MUA issues a FETCH ? - Dovecot intercepts the FETCH ? - Dovecot internally
2013 May 28
3
R-3.0.1 - "transient" make check failure in splines-EX.r
Hello. I seem to be having the same problem that Paul had in the thread titled "[Rd] R 2.15.2 make check failure on 32-bit --with-blas="-lgoto2"" from October of last year <https://stat.ethz.ch/pipermail/r-devel/2012-October/065103.html> Unfortunately, that thread ended without an answer to his last question. Briefly, I am trying to compile an Rblas for Windows NT 32bit
2010 Apr 19
1
transient memory allocation and external pointers
Hello, The Writing R extensions manual section 6.1.1 describes the transient memory allocation function R_alloc, and states that memory allocated by R_alloc is automatically freed after the .C or .Call function is completed. However, based on my understanding of R's memory handling, as well as some test functions I have written, I suspect that this is not quite accurate. If the .Call
2009 Mar 10
2
Transient xen performance issue
I''m installing Xen with the OpenSUSE 10.2 distro and the bigsmp-2.6.18.8-0.13.i586 kernel. However, I occasionally get insane amounts of slowdown (almost 100x) in dom0. On bootup, performance is normal. After an undeterministic period of time, I get this crazy amount of slowdown. I''m not sure why this is the case and I have spent a long time trying to figure it out.
2005 May 14
6
HELP!! Serious memory leak in my rails app!!
I''m having a huge memory leak problem with a rails application I''m developing! I first noticed that when running under webrick (via script/server) there was a fast memory leak.. several users using the app for a few hours would use 2 gig of memory!!! I searched the archives and found that some users found that it could be avoided by saying --daemon when launching webrick..
2007 Sep 22
2
Odd response.body behavior
Hi all, I''m having very odd behavior, but only with a few of my specs. I''m checking the value of response.body and in most cases finding it to be the content of the body... but in some cases it''s the name of the template rendered!! There''s no rhyme or reason I can see, but obviously my tests fail for no reason when I expect the body to contain the
2005 Nov 27
3
Canvas Tag + Rails Ajax
Hi all, Just looking for a quick sanity check. I was thinking of writing a plugin for rails to give rails developers a good way of using the new firefox 1.5/safari canvas tags. I was thinking of grabbing an existing ruby graphics library and modifying it so that it renders via the canvas tag.. So you could have link_to_remote pointing to controller actions that instead of returning
2007 Sep 13
5
Authenticating before tests
Hi all, I''m using Goldberg, an engine that provides roles based access control for my app. I need to login before I can do controller tests, but I can''t find any examples of people doing this. Could someone point me in the right direction? I thought the simplest way would be to either call the login action from my other tests before(:all), but I can''t seem to
2006 Jun 25
3
Dummy field in a model
I want to have a field in model, which I''m not storing in a database. And I want to do something like the following in the model code : validates_format_of :field_NOT_in_db, :with => session[:field] How can I do it ? Thanks, Pratik -- rm -rf / 2>/dev/null - http://null.in
2006 Mar 14
2
SMART for SATA devices ?
I noticed that the changelog for the new kernel 2.6.9-34 on the redhat enterprise watchlist states on of the fixes as; 145061 - SMART support in SATA driver (P1) Does this mean that with that kernel we should be able to interrogate SATA drives now ? Cheers, Bards.
2005 Jun 27
2
Accessing SIP username from AGI script
Hi, I'm writing an AGI script to manage outgoing calls. We need to interrogate a database to work out which line a particular user is allowed to use for outgoing calls. However, I cannot find a way for my AGI script to access the SIP username. Does anyone know if this is possible (even if it is just passing a variable from extensions.conf to the script)? Thanks in advance, David
2006 Jun 08
5
Field names in validators
Hi! Is there a (simple) way to use alternative field names in validation messages? For example, if I have a validator like this one: validates_presence_of :email how can I make it print a message like "E-Mail Address can''t be blank" instead of "Email can''t be blank"? I can override the "can''t be blank" part by using the :message