Displaying 20 results from an estimated 7000 matches similar to: "Rails 3: ActiveRecord .include not working"
2007 Mar 05
2
Scheduled workers only run once unless you call self.delete inside the worker
I had a worker scheduled to run every minute with
backgroundrb_schedules.yml:
ebay_runner:
:class: :ebay_auction_worker
:job_key: :ebay_auction_runner
:trigger_type: :cron_trigger
:trigger_args: 0 * * * * * *
This worker posts an auction to eBay from a queue of auctions every minute.
I was having a problem where the worker would run ok the first time, but
never any subsequent minutes
2008 Jun 24
9
ActiveRecord 2.1 Migration support
Hi all,
I am in the process of adding Migration support to the Ingres
ActiveRecord adapter and have run in to a problem. During the call to
create_table the Ingres adapter some how causes ruby to blow the stack
and coredump/segv. I have tracked down the problem down to
"add_column_options!" in
"lib/active_record/connection_adapters/abstract/schema_statements.rb".
2008 Jun 24
9
ActiveRecord 2.1 Migration support
Hi all,
I am in the process of adding Migration support to the Ingres
ActiveRecord adapter and have run in to a problem. During the call to
create_table the Ingres adapter some how causes ruby to blow the stack
and coredump/segv. I have tracked down the problem down to
"add_column_options!" in
"lib/active_record/connection_adapters/abstract/schema_statements.rb".
2007 Mar 13
3
Scheduled worker dies after about 30-45 runs
I have a scheduled worker that runs every minute, checking for new eBay
auctions to post. If it finds an auction, then it posts it. If there are no
auctions in the database that are queued up, it simply does nothing. I got
the worker to finally run as a scheduled worker, every minute. However,
after about 30-45 scheduled runs, it simply stops running.
My backgroundrb_schedules.yml file:
------
2005 Feb 18
1
R crashes on Repeated ODBC Queries
Hi,
I've been up all night trying to get the following to work.
First here is the setup. I have a P4 1G mem running WinXP SP2, R 2.0.1
patched 2005-01-15, MySQL 4.1.7 and MyODBC 3.51.
I've been pulling data from MySQL using the code at the end of the post,
where start.date and end.date are chron objects and auction.type is a
string. I've been rushed so the code, especially the
2007 Jul 14
1
Info about Providers
To everyone on the list
I put a site on line the URL is
*http://bochterservices.com/phpbb/
*This is for any information on Good or Bad ITSP
You can post any problems you had with the provider
You can Vote on the provider
This is for allowing multiple viewpoints to be heard.
If a provider receives a bad review, they are more than welcome to post
So long as the exchange is fairly open and
2009 Nov 25
2
Need Info on Celt-dev
I need to know if this software can help me embed streaming audio into
items(lots) in my online auctions. I am looking for the capability on high
ticket items to be able to explain the benefits and features of that
particular lot.
Jerry Floyd
Prime Equipment.& Auction Co.
601 S. McAllister St.
Quitman, TX 75783
903-763-5060 x1
Fax: 903-781-9225
2011 Jul 11
2
Can't get this Rspec test to pass
Hello,
I''m completely new to Rspec testing and I''m finding it very difficult to
mock specific objects.
In this test, I have a before block setup as such:
[code]
before do
setup_controller_for_warden
controller.session[:operation_id] = 1
@operator = Factory :operator
sign_in :operator, @operator
@persist_herd = Herd.new
2005 Jul 12
3
Help Configuring TDM04B
Hi:
I had an fxo card from Digitnetworks and it was
working fine on my Asterisk box. I then replaced it
with TDM04B. I changed the zaptel and zapata to
include the four channels. When I run ztcfg, I get
configuration errors:
Channel map:
Channel 01: FXS Kewlstart (Default) (Slaves: 01)
Channel 02: FXS Kewlstart (Default) (Slaves: 02)
Channel 03: FXS Kewlstart (Default) (Slaves: 03)
Channel 04:
2010 Sep 05
0
Responding to a non-registered MIME type?
I''m trying to figure out how attachments are supposed to work with MIME
type-based responses. What makes attachments special is that in many
cases they are allowed to be arbitrary files. It would be too
restrictive to require that all possible types are registered
(Mime::Type.register).
Let''s say for GET requests on an attachment resource I want to return
metadata if the
2004 Sep 10
5
the road to 1.0...
--- Jan Suhr <jan.suhr@usa.net> wrote:
> It would be easier if FLAC understand the following command: "flac
> *.wav *.flac" or "flac -d *.flac *.wav"
>
> for now I have to use some shell "tricks".
>
I assume you're using the DOS shell? because all unix shells I know
will expand the globs first so this syntax cannot work anyway.
but I know
2011 Sep 09
0
respond_with and ajax
Suppose I have this controller:
class SalesController < ApplicationController
respond_to ?????
def get_price
@price = Product.find(params[:product_id]).price
respond_with ?????
end
end
1) What do I specify for respond_to() so that get_price() will accept
ajax requests?
2) What do I specify for respond_with() if all I want to do is return
@price?
--
Posted via
2004 Sep 10
1
Re: [Flac-announce] FLAC 0.7 released (but DON'T USE)
OK, after some debugging, it turns out this is
related to an earlier bug (#131976 which has a
temporary workaround). In other words, it will
not trigger unless you are encoding more than 2
channels, and only then at large blocksizes
(>32k samples).
The full fix will be in 0.8
Josh
--- Josh Coalson <xflac@yahoo.com> wrote:
> A bug fix in 0.7 created another bug related to
>
2004 Sep 10
1
Fwd: success compiling and running under IRIX
forwarding this on...
> ----- Original Message -----
> From: "Erik Turner" <erik@turner.org>
> To: <flac-dev@lists.sourceforge.net>
> Sent: Tuesday, January 15, 2002 10:49 AM
> Subject: Re: [Flac-dev] success compiling and running under IRIX
>
>
> All,
>
> There is a discussion going on in the OggVorbis mailing list
> about replay gain.
2004 Sep 10
1
[Flac-users] Open URL from Winamp
Hurm.. How difficult would it be to implement? I have experience
developing Winamp plug-ins, and it seems that the spec for streaming
flac files is written pretty well. I'd be happy to work on adding this
functionality.
-Jason
Josh Coalson wrote:
>
> --- "Jason L. Cook" <jason@siliconashes.net> wrote:
> >
> > I have an Apache server running on a Linux box
2004 Aug 06
1
Is CVS repository up?
Does anyone know if the CVS repository is on-line? I
am getting:
NEW CVSROOT:
:pserver:anoncvs@xiph.org:/usr/local/cvsroot (password
authentication)
cvs login
(Logging in to anoncvs@xiph.org)
cvs [login aborted]: connect to xiph.org:2401 failed:
Connection timed out
*****CVS exited normally with code 1*****
Thanks for any help.
JOnathan.
__________________________________________________
Do
2001 Mar 15
1
AW: samba on win2k
If you haven't deactivated password encryption on win2k (by changing the registry) you should make sure that "encrypt passwords = Yes" is set in your smb.conf.
-----Urspr?ngliche Nachricht-----
Von: Santosh Cheler [mailto:toshck@yahoo.com]
Gesendet am: Donnerstag, 15. M?rz 2001 10:04
An: samba@lists.samba.org
Betreff: samba on win2k
I setup samba on rh6.2, and when i try to access
2001 May 28
2
Priority to UDP?
My Linux machine acts as a IP-masquerading gateway for
my home LAN and also hosts a small mailinglist. I am
using redhat 7.1, which appears to have iproute
installed by default.
I simply want to give UDP packets a higher priority
over all other traffic. Reason: when my wife surfs the
web or the mailinglist has traffic, my online shoot
''em up games "lag out" (the latency
2001 Feb 21
1
Compile problems with 2.5.1p1 and older Linux boxes
Hi,
I'm having problems building 2.5.1p1 on two of my older Linux boxes. One
box is running RH 5.2 and the other Debian 2.0. Both are using gcc 2.7.2.3,
openssl-0.9.6 and glibc-2.0.7. They both also die on the same error, and the
configure options I use don't seem to make a difference.
2.3.0p1 compiled fine on both of these machines.
[...]
gcc -g -O2 -Wall -I. -I./openbsd-compat
2004 Sep 10
6
beta 10 candidate checked in
I have checked in all the latest into CVS and am going to start the
test suite again. if all goes well I will probably release this as
beta 10.
this one should have all the configure stuff working with the new
assembly infrastructure. I have tried to make it as easy as possible
to port routines to assembly. all that's really needed now is to
write the corresponding routine for a specific