Displaying 20 results from an estimated 1000 matches similar to: "XMLRPC::DateTime from AWS"
2005 Dec 15
3
Another session question
I want to give a user a form to create a new Product, but instead of
persisting the product to the database I want to store it in a
session first for category assignment, etc.. (in other controllers)
So when the user describes the product on the form I have a "Save and
Continue" button pointing to the action add_to_product_factory:
def new_product
@product = get_product
end
2006 Aug 25
1
Reload instance data on instantiate
I''m working on a website which interacts with Amazon web services.
I have an Item class which is a cache for amazon items. I''d like to
have the class instances to refresh data every day (Time.now -
item.last_updated > 1.day) but not sure how.
I''ve tried with
class Item < ActiveRecord::Base
# ...
private
def instantiate(record)
super
2006 Jan 08
2
How do can I use XmlRpc with my AWS?
In my tests, I want to invoke my webservice not using the default SOAP
protocol, but using XmlRpc ... how do I do that?
--
Posted via http://www.ruby-forum.com/.
2008 Apr 01
1
Navigation Problems
Hi,
I am having problems with my page. I have a banner and navigation bar in
controller_name.rhtml in app/views/layout. Can someone please help?
Thanks
In the navigation bar, I have the following links:
Category1
Sub-Category1
Sub-Category2
Sub-Category3
Sub-Category4
Sub-Category5
Sub-Category6
In the main content, I have the following links:
Sub-Category1 edit delete
2006 Jan 20
2
AWS and passing in a Model
Hi,
I have a webservice. And I want to pass in, a model.
So, for example:
api_method :save_person, :expects => [Person]
When I do this I get an error saying that I cannot have ActiveRecord
objects as parameters. Fine. I can have AWS Structs as parameters. I
don''t want to start ''maintaining'' a struct everytime I change the table
structure od Persons.
So, is
2006 Jul 24
1
XMLRPC WebService and Structs
Hi
First off, I apologise if this is covered somewhere and I just don''t
get it... I''ve looked far and wide ....
As a part of my current project I need to hook up to a particular
XMLRPC webservice that won''t be available for me to use until close
to launch date... So I am trying to recreate the webservice that
mirrors the live one so I can test my application
2006 Jan 04
5
Webservice External XMLRPC
Hello i have some trouble getting my webservice to run .
I have the following webservice :
class DirectSpoolAPI < ActionWebService::API::Base
api_method :add, :expects => [{:html=>:string},{:from=>:string}],
:returns => [Customer]
end
class DirectSpoolService < ActionWebService::Base
web_service_api DirectSpoolAPI
def add(html,from)
Customer.find(:first)
end
2008 Jul 10
6
Getting undefined method `-' for #<XMLRPC::DateTime:0xb7c729e8>
Hello, all.
I am getting the following error on a couple of my puppet nodes when I
run puppetd -v -o --no-daemonize --no-splay:
err: Could not retrieve catalog: undefined method `-'' for
#<XMLRPC::DateTime:0xb7c729e8>
The error goes away if I add --ignorecache, but I''m not sure that''s
quite the fix I''m hoping for. It will also go away if i remove my
2006 Apr 21
3
Problem with Mongrel, Rails and web services using xmlrpc
Hi all,
Ruby 1.8.4
Windows XP Pro / Solaris 10
Mongrel 0.3.12
Rails 1.1.2
I''ve got a fairly simple and straightforward layered dispatching web
service setup for my Rails app. This simple xmlrpc script works fine
with WEBrick, but chokes on Mongrel. Is there anything special I need
to do to make web services work with Mongrel and Rails? Some Google
searching indicates that there had
2003 Apr 04
2
Bug in %in% (match)
Hi,
Am I hitting some limit in match? Consider the following example:
> tst<-seq(100,125,by=.2)%in%seq(0,800,by=.1)
> sum(tst)
[1] 76
> seq(100,125,by=.2)
[1] 100.0 100.2 100.4 100.6 100.8 101.0 101.2 101.4 101.6 101.8 102.0
102.2
[13] 102.4 102.6 102.8 103.0 103.2 103.4 103.6 103.8 104.0 104.2 104.4
104.6
[25] 104.8 105.0 105.2 105.4 105.6 105.8 106.0 106.2 106.4 106.6 106.8
2003 Apr 04
2
Bug in %in% (match)
Hi,
Am I hitting some limit in match? Consider the following example:
> tst<-seq(100,125,by=.2)%in%seq(0,800,by=.1)
> sum(tst)
[1] 76
> seq(100,125,by=.2)
[1] 100.0 100.2 100.4 100.6 100.8 101.0 101.2 101.4 101.6 101.8 102.0
102.2
[13] 102.4 102.6 102.8 103.0 103.2 103.4 103.6 103.8 104.0 104.2 104.4
104.6
[25] 104.8 105.0 105.2 105.4 105.6 105.8 106.0 106.2 106.4 106.6 106.8
2006 Apr 25
1
DateTime problem in AWS
I am trying to implement a web service that returns a datetime stamp as
part of the structured object returned in the response. As noted in
another post (http://www.ruby-forum.com/topic/59762), there seems to be
a problem with the DateTime.parse method in that it does not match the
year. Is anyone aware of workaround for this issue?
My current idea (a hack, but it seems to work) is to
2015 Nov 11
3
hunting the fatty
On Tue, 10 Nov 2015 08:50:50 +0100
Christian Kivalo <ml+dovecot at valo.at> wrote:
> Hi,
>
> On 2015-11-10 01:44, mancyborg at gmail.com wrote:
> > Hello dear list,
> > I've recently discovered 'doveadm stats' and I'm trying to use
> > "doveadm stats dump user" and "doveadm stats dump session"
> > to understand the
2006 Jan 11
1
HELP!! - ActiveRecord derivates in AWS :expects method
Hi,
I have a strange problem while using WebService API which expects an
ActiveRecord derivate.
This is the code of the API ...
------
class HarvesterApi < ActionWebService::API::Base
api_method :send_measurand,
:expects => [{:measurand => Measurand}, {:eaiSystemName =>
:string}]
end
------
... and this of my Model
------
class Measurand < ActiveRecord::Base
2015 Nov 10
3
hunting the fatty
Hello dear list,
I've recently discovered 'doveadm stats' and I'm trying to use "doveadm stats dump user" and "doveadm stats dump session"
to understand the pop/imap users that put more stress on the hard disks.
My problem is that some users refuse to delete their emails from the server,
so they keep 20GB of maildir files on the server, the webmail (roundcube)
2014 May 10
1
"doveadm penalty -a" doesn't work?
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
We're running multiple instances on the same server.
While doveadm penalty works:
root at host:/etc/dovecot# doveadm penalty
IP penalty last_penalty last_update
93.180.xxx.xxx 4 2014-05-10 12:21:08 12:21:08
80.153.xxx.xxx 0 2014-05-10 12:21:12 12:21:12
a seperate anvil-Socket doesn't work at all:
root
2005 May 31
1
subset-analogue removing fed in indexes?
Hello,
Here's my issue:
I want to plot the following vectors:
> x <- c(0.0, 2.0, 15.0, 100.0, 105.0, 105.1, 110.0, 120.0, 120.1,
130.0)
> data <- c(8.75, 8.75, 16.25, 38.75, 61.25, 8.75, NA, 8.75, NA, NA)
and avoid the line discontinuations caused by 'NA'.
> plot_data <- na.omit(data)
will clean up 'data' for me, but now I need to get a 'plot_x'
2006 Aug 16
7
ActionWebService: XMLRPC Server Multicall possible?
Hi all,
I have a question concerning ActionWebService XMLRPC servers: Is it
possible to send multicall requests to the Web service? I tried to
use multicall and get the error message:
no such method ''system.multicall'' on API [MyAPI]
In Changeset 2021 there is the following commit message:
add ''system.multicall'' support to XML-RPC. boxcarred methods must
2009 Jan 11
1
Boxplot from matrices
Hii,
I will create boxplots from matrices. I have the following data sets:
5.0 1.78 2.99 2.019 0
10.0 1.79 3.00 1.744 0
15.0 1.78 2.98 1.936 0
20.0 1.78 2.99 1.975 0
25.0 1.73 2.91 3.591 0
30.0 1.79 3.00 1.966 0
35.0 1.79 3.00 2.451 0
40.0 1.79 3.00
2012 Apr 25
2
stats + fts squat plugins, indexer-worker error on message indexing
On RHEL 6.2 + dovecot 2.1.5 with the stats and fts (squat) plugins enabled and each user having their own uid on the system I get the following error in the logs when the indexer-worker process indexes some messages:
Apr 25 09:56:19 wardentest3 dovecot: imap-login: Login: user=warden, method=PLAIN, rip=137.238.60.164, lip=137.238.2.240, lport=1993, mpid=19464, encryption=TLS
Apr 25 09:56:26