Displaying 20 results from an estimated 900 matches similar to: "Mystified by ActiveRecord.serialize"
2006 May 01
1
Best way to do task in background in Rails
Hey everyone,
I''m still getting up to speed with Rails and Ruby. Is there a best
practice technique for kicking off a thread to work on an activity in
the background?
Here''s the scenario: the user performs an action that triggers e-mails
to be sent. (I''m using ActionMailer). My app acknowledges with a message
to the user that the messages have been sent. I would
2005 Jun 09
8
RDoc Dashboard Widget
Hi everyone - sorry if this is a bit OT, I''m not subscribed to the
''ruby-talk'' list, but if anyone wants to cross post this over there...
This is just a quick announcement to let people know that I''ve built a
basic RDoc Dashboard widget for Mac OS X Tiger. It''s still beta-ish,
but seems to work okay for me - and it''s a convenient reference
2006 Apr 20
11
dynamic mock object anyone?
Hi guys, got this problem with creating such a thing... hope anyone
could help..
the problem:
ok, now i have this mock object that would simulate a external rpc call.
eg
require ''models/xmlrpc_agent''
class XmlrpcAgent
def create(params)
200
end
end
but the value of the value returned is fixed. which is quite hard for me
to test the controller when different
2011 Sep 16
1
Mystified - comparing chron times
I have two local variables: startTime and expectedStartTime. Both are chron
related objects.
When I look at the class for the objects I can see they are of class
"times".
When I print them to the console, they both read: "09:30:00"
When I print them as.numeric(), they both read: 0.3958333
When I try and compare them: (as.numeric(startTime) ==
as.numeric(expectedStartTime)) it
2002 Apr 12
1
Once again somewhat mystified with exclude rules
I go thru this every few mnths it seems. Rsyncs exclude rules are
very sophisticated but because of that somewhat unfathomable at times.
Simplified:
I want to exclude directories named no_bak anywhere in the tree
but only the files under them, not the direcrories themselves.
My exclude rules look like:
no_bak/*
/no_bak/*
The first one does catch directories by that name on the first level
but
2006 Mar 19
3
How can I access an attribute via a symbol?
In my model I''d like to write a method that accesses the attributes by
name. A very simple implementation would be
class MyModel < ActiveRecord::Base
def get_value(attribute)
return value_of_attribute
end
end
Then I can call it with m.get_value(:name) to get the value of the
name column in the db. I''m not sure what to put in for
2003 Oct 10
0
mystified by interaction between krb5.conf, smb.conf, and winbindd
I am stumped here. I am a novice at using samba to do MS Active
Directory stuff, but I have read everything I could find in the HOWTO
collection and on the linux.samba cache of the list and am still stuck.
A bit of background... I have set up a Windows 2003 server as a domain
controller here and configured it to be the DNS for a ficticious domain
for internal use only. The domain functional
2005 Jun 13
1
RDoc Dashboard Widget v1.2
Hi all,
This is just another quick email to let everyone know that I''ve
updated the RDoc Dashboard Widget to fix all the reported bugs and add
most of the requested features. The changes include:
* Bug fixes for erratic scrolling and ''stuck'' navigation panes
* The ability to have multiple instances of the RDoc widget on your
dashboard
* Bookmarking functionality for
2006 Jun 03
12
How to get dynamically created inputs from html form back to rails app
Thank you in advance.
Although I have many years of experience in general, including cross-
platform processing, I am not an HTML/Javascript programmer. As a
result, I do not have certain specific baseline skills and/or knowledge
that are presumed in the Rails and Ajax documentation.
I am experienced with DOM manipulations, so the bare mechanics of
manipulating the browser GUI via Javascript
2011 Mar 22
6
bug resolve yet for export OCFS2 volume to NFS client ?
I found this from ocfs1.4 document:
g) NFS
OCFS2 volumes can be exported as NFS volumes. This support is limited to
NFS version 3, which translates to Linux kernel version 2.4 or later.
Users must mount the NFS volumes on the clients using the nordirplus
mount option. This disables the READDIRPLUS RPC call to workaround a bug
in NFSD, detailed in the following link:
2008 Dec 12
22
Disabling cirrus-vga
Hi xen developers,
Does any of you know how to disable the cirrus-vga emulation for hvm in xen?
I have been trying to disable that from the source codes, but even with
that, I still see a VGA controller when I boot up my guest domain. In
particular, I would like to do this because I am passing through a graphics
card to my guest domain using direct pass through.
Thanks,
- billy
2005 Dec 22
2
Pretty Log Output on OS X
Howdy,
I am using Apple''s Terminal and Rails 1.0 on Tiger.
I am tailing my log files and it seems with one of these updates things
changed a little. I see all these ''ESC'' codes all over.
How can I make the output prettier? I''d rather not move to iTerm, not one of
my faves.
Cheers.
2006 Jun 04
3
link_to tool tips
I think they are called tool tips...
I have view code that looks like this...
<%= link_to ''I'', :action => ''edit_innoculations'', :id => personnel %>
Is there an option (I don''t see it in api) to have tool tips for a
link_to ?
Craig
2015 Jan 03
2
Help with installing Apache Solr with Dovecot 2.2
Dear Marc,
Thanks for your feedback!
1. I store it in MySQL.
2. I will add a cronjob to run Solr if I can figure out why its not working
on test runs. Maybe I might try to setup a cronjob for solr to avoid having
to manually start it everytime.
3. Will turn on the mail_debug in dovecot.conf . Where will it log the
problems?
Thanks
Kevin
On Sat, Jan 3, 2015 at 4:45 PM, Marc St?rmer <mail at
2010 Jul 08
2
How to regenerate passdb.tdb
Hi,
I was having problem with the tdbsam backend in which a particular user got
listed twice with pdbedit.
(http://www.mail-archive.com/samba at lists.samba.org/msg109110.html)
Without much hope in fixing it, I am planning to re-generating passdb.tdb on
my PDC by:
(1)exporting tdbsam to smbpasswd backend
(2)delete passdb.tdb
(3)re-import smbpasswd to tdbsam backend
With the command `
2006 May 30
6
How to solve "Marshal Data Too Short" error?
Hi
I''ve got the error in the log file "marshal data too short" after I try
to store some data into session.
After doing some research on the internet, it looks like the problem was
caused by pstore.rb. It is there way to solve this problem?
Thank you
--
Posted via http://www.ruby-forum.com/.
2005 Jul 26
14
Rails VS ASP 2.0 on IIS and Windows 2003 server
I''m working in a complex web app that could have 1000+ users within the next
year. It must be run on Windows 2003. Current db is SqlServer 2000. Company
is deciding between Rails and ASP 2.0. I''d like to get some feedback on
which would be the best to develop in. ( I prefer Rails :)
1. Will Rails be stable in that environment? Will it work with IIS?
2. Is it better for
2004 Nov 25
2
logistic regression and 3PL model
Hello colleagues,
I am a novice with R and am stuck with an analysis I am trying to conduct.
Any suggestions or feedback would be very much appreciated.
I am analyzing a data set of psi (ESP) ganzfeld trials. The response
variable is binary (correct/incorrect), with a 25% base rate. I've looked
around the documentation and other online resources and cannot find how I
can correct for
2018 Feb 16
1
Out of memory on lmtp vsz_limit
How about you try moving the mail into another folder on daily basis,
this way the INBOX would stay nice and empty.
doveadm move -u archive at company.com Archive MAILBOX INBOX SENTBEFORE
todays-date
Aki
On 16.02.2018 06:19, Terence Lau wrote:
>
> Bump.
>
> ?
>
> Any advice would be most appreciated.
>
> ?
>
> Thanks.
>
> ?
>
> *From:*Terence Lau
>
2007 Mar 23
5
Any chance to get 0.11.3 on windows soon ?
Hi,
I''m working on a Ferret-based application which indexes content in all
European languages. Thus, I have to deal with those funny European
characters.
After googling a bit, I decided to move on with a custom European
analyzer based on MappingFilter, as suggested in the Ferret rdoc.
Everything works fine with Ferret 0.11.3 on Mac OS X.
But this application needs to run on both