Displaying 20 results from an estimated 600 matches similar to: "blank division after update"
2006 Jun 09
0
Re: Rails Digest, Vol 21, Issue 195
Unsubscribe
Sent from my BlackBerry? wireless handheld
-----Original Message-----
From: rails-request@lists.rubyonrails.org
Date: Fri, 9 Jun 2006 18:24:09
To:rails@lists.rubyonrails.org
Subject: Rails Digest, Vol 21, Issue 195
Send Rails mailing list submissions to
rails@lists.rubyonrails.org
To subscribe or unsubscribe via the World Wide Web, visit
2007 Mar 01
2
How can I use the "GET VARIABLE variablename" in AGI
Hi,All,
I wang to use AGI in asterisk1.4.
AGI file / myperl.agi
#!/usr/bin/perl
use strict;
......
print STDERR "7. Testing GET VARIABLE...";
print "GET VARIABLE EXTEN \"\"\n";
my $result = <STDIN>;
&checkresult($result);
......
when the agi execute; asterisk conosle show that :
AGI Rx << GET VARIABLE EXTEN ""
AGI Tx >>
2015 May 24
2
NEWS.md support on CRAN
On 23/05/2015 9:15 PM, Imanuel Costigan wrote:
> While a parsed HTML version of the NEWS.md file would be nice, I would like something much simpler: being able to "see? this file in the Help pane in RStudio
That isn't really any simpler. RStudio is just displaying HTML whenever
it shows you anything in the Help pane.
or being about to run something like show_news(?packagename?).
2006 Apr 25
3
limiting options in file_upload
Does anyone know if it''s possible to set constraints to the size & type of file that file_column will accept?
I''d like to limit to image files of less than 2MB.
If this isn''t possible with file_column, is there a graceful way of getting the controller to handle it?
thanks
dorian
--
--
I do things for love or money
2006 Jun 15
5
Cannot invoke ActiveRecord subclass accessors in DRb worker
Hi there,
I''m trying to create a worker to do some asynchronous web client work
and update the data model with its results. It seems, however, that
every call I make to an ActiveRecord subclass causes the whole thing
to block. At least I think it''s blocked. Right now I''m just using
debug log output.
Is there a decent way to debug/test workers I can try?
Is there any
2019 Dec 27
2
AGI: "Get variable" returns variable VALUE vs "Get full variable" returns variable NAME - bug or my misunderstanding?
Just trying out a node agi package (https://github.com/sergey12313/ts-agi/ ,
and it wasn't behaving as I expected, but when turning on agi debug, it
looks like it might be Asterisk (using 17.1.0)
This works as expected
<Local/1000 at default-00000020;2>AGI Rx << SET VARIABLE myVar "Hello World!!!"
<Local/1000 at default-00000020;2>AGI Tx >> 200 result=1
2008 Oct 22
2
smbd high cpu load
We have a Linux file server for a set of computer science and
engineering
labs where each lab contains machines running Mac OS X, Ubuntu Linux,
or some incarnation of Windows. At times the these machines become
almost unusable and I think I have narrowed the problem to smbd
processes
soaking up all the CPU on the server. Running 'top' on the server
reveals a dozen or so entries like
2006 Apr 28
2
tests and login_engine
Hi there,
I just started writing tests today after some months of using rails (slap wrists).
I seem to be getting the hang of things, but I''m hitting a wall when it comes to functional_testing pages protected by login_engine/user_engine.
all my assertions come back with:
Expected response to be a <:success>, but was <302>
Is there a way I can login from within a test?
2006 Jan 23
11
mysql dates
does anyone know of a way to make the date_helper deal with mysql dates with 00 values in them?
I have lots of dates that are like the following:
2005-04-00
2005-00-00
and I need to set null values in a date_select for elements that are 00. These are valid dates in mysql.
In the absence of an immediate solution to the above, I''ve been trying to find out how InstanceTag.new works so I can
2006 May 11
4
/public content security
Hello all,
I have a question regarding the security of my new web zine. The
idea is that I have editors that can log into the site, and then upload
comics in the form of a jpg. The way that I have this set up right now
is that the jpg is submitted through a form and then placed into the
authors sub directory in public/comics/. The record of the jpg is
stored in a pendingcomics table
2006 Mar 20
3
login_engine
Hello,
I''m having trouble getting login_engine to work properly. I get the standard login/registration views, but whenever I try to register I get:
NoMethodError in User#signup
undefined method `password_confirmation='' for #<User:0x408b2f9c>
I have login_engine, and engines installed from cvs:
http://opensvn.csie.org/rails_engines/plugins/
anyone else had anything
2006 Mar 15
1
file_column imagemagick strangeness
Hi,
I''m using the basic magick features of file_column,
and while files are uploading fine without the magick options, as soon as I do something like
:magick => { :size => "400x600" }
I get an ''invalid file'' error.
Further investigation reveals that the file is in fact invalid because something somewhere is truncating the file path:
2006 Jun 02
6
overriding constants
Hi there,
I''m trying to override the defaults for form_helper.
I can see in action_view/helpers/form_helper.rb:
class InstanceTag #:nodoc:
include Helpers::TagHelper
attr_reader :method_name, :object_name
DEFAULT_FIELD_OPTIONS = { "size" => 30 }.freeze unless const_defined?(:DEFAULT_FIELD_OPTIONS)
DEFAULT_RADIO_OPTIONS = { }.freeze
2006 May 18
1
ActiveRecord problems from within template
Hi,
my Film model has this:
has_many :live_action_personnel,
:class_name => "Credit",
:include => :credit_type,
:order => ''credit_types.position, credits.position ASC'',
:group => ''credit_types.personnel_type'',
2006 May 24
2
named routes confusion
Hi,
I''m trying generate a URL from a named route like: namedroute_url(params...)
but the generated route is always coming out as the first match from the routes table.
The named route is defined inside a map.with_options block, but that shouldn''t matter should it?
dorian
--
--
I do things for love or money
2006 May 09
1
name_url in tests
Hi there,
I posted earlier asking about testing named routes in functional tests, but got no response, so I''m making my question less specific.
It seems from the docs that it''s possible to to test named routes in cases such as:
asserts_redirect_to name_url(:param => "whatever")
but I haven''t seen any mention of it being used with any other tests and I keep
2006 Jan 23
2
require rmagick
Hello,
I''m trying to use rmagick in a helper script (for auto-generating image sizes) and I''m not sure where I should be calling ''require''.
currently I have:
require ''RMagick'' at the top of my controller:
class FilmsController < ApplicationController
require ''RMagick''
but that''s giving me an error:
2006 May 18
2
How to add hint to link_to_remote?
To add a hint to normal link is very easy:
link_to ''design'', {:action => ''design'', :id => survey}, :title =>
''Design the survey''
but, after trying several times, I still can''t figure out how to do the
same to link_to_remote. I''ve tried put :html => {:title => ''blah''}. It
doesn''t
2008 Oct 23
3
high cpu load
I think I have narrowed down the problem why smbd processes are soaking
up so much CPU on our file server. Here are some selected samples from
strace output as I attached to the offending smbd process:
Culprit #1
I took three sample snapshots, each lasted for several seconds, and I
took them
minutes apart from each other. I noticed many lines involved stat'ing
the
a single file in the
2015 May 24
2
NEWS.md support on CRAN
On 23/05/2015 10:26 PM, Imanuel Costigan wrote:
>
>> On 24 May 2015, at 12:07 pm, Duncan Murdoch <murdoch.duncan at gmail.com> wrote:
>>
>> On 23/05/2015 9:15 PM, Imanuel Costigan wrote:
>>> While a parsed HTML version of the NEWS.md file would be nice, I would like something much simpler: being able to "see? this file in the Help pane in RStudio
>>