Displaying 20 results from an estimated 90000 matches similar to: "Web service interface"
2006 Feb 16
0
Accessing Metaweblog API
I''m trying to create an application that interfaces with the metaweblog
API of a remote blog.
I''ve installed a nifty little ruby module called "blog/client" and have
it connecting, and then pulling posts from a blog via the metaweblog API
if I put all the code into my controller.
Now, I wanted to try and put the code into a model so that I can create
a new connection
2006 Jul 02
0
Rails Core Weekly June 19 - July 2 2006
This is another edition of Rails Core Weekly, affectionately known as
RCW. A much nicer pre-web 3.0 version is available from the following
url :
http://www.pinupgeek.com/articles/category/rails-core-weekly-news
We have an Atom/RSS feed available there as well.
Rails Core Weekly summarizes the rails-core mailing list, a list
dedicated to Ruby on Rails internals and its development. RCW is
2006 Aug 06
0
Rails Core Weekly July 16 - August 6
Rails Core Weekly July 16 - August 6
Rails Core Weekly summarizes the rails-core mailing list, a list
dedicated to Ruby on Rails internals and its development. RCW is
brought to you by Rodney Ramdas and proofread by the good people of
The Caboose (http://blog.caboo.se/) for accuracy.
RSS feed and RCW home:
http://www.pinupgeek.com/articles/category/rails-core-weekly-news
The ruby on rails
2005 Dec 13
3
Features for next webgen release
| Ross Bamford wrote:
| 
| On Tue, 13 Dec 2005 12:50:08 -0000, Thomas Leitner <thomas_leitner at
| gmx.at>   wrote [in comp.lang.ruby]:
| 
| > I''m currently gathering ideas for new features for the next big
| > webgen release (0.4.0). Some of the planned features are:
| >
| > * RSS feed generation (proposed by Friz Heinrichmeyer)
| 
| That would be very nice -
2005 Dec 13
0
Features for next webgen release [comp.lang.ruby]
Hi,
Thought I''d reply on the Webgen list, hope that''s okay. I''m gradually  
putting together my personal website with Webgen when I get time to do it  
properly (not got much beyond planning yet though) but I did have a couple  
of things on my wish-list already ;)
On Tue, 13 Dec 2005 12:50:08 -0000, Thomas Leitner <thomas_leitner at gmx.at>  
wrote [in
2007 Aug 02
2
STI functionality, but then with multiple tables
Hello,
I''m creating my own Tumblr [tumblr.com] like rails app.
It''s like a blog, but in this case a blog post could be of a certain
type, i.e. a regular post, a video, a link, a photo, a song(info).
Well now, it''s clear that they share a lot of similar functionality:
title, created_at/updated_at, commentable, probably has an author_id,
etc..
But besides that they are
2009 Oct 14
1
ovirt web interface 500 Internal Server error
Hello,
I built ovirt this morning and ovirt web interface does not work anymore.
I am able to login but only dashboard and networks are visible...
no default hardware pool is visible.
On /var/log/httpd/error.log I read:
/usr/lib/ruby/gems/1.8/gems/activerecord-2.3.2/lib/active_record/connection_adapters/abstract_adapter.rb:212:in `log': PGError: ERROR:  relation "pools" does not
2006 Jun 18
4
MongrelDay Documentation -- Memoirs Of A Web Server
Happy RailsDay!
While everyone else was out having fun with RailsDay I spent my time
wisely and wrote up tons of documentation for Mongrel and cleaned out
some of the docs I''ll never write anyway.  I also took the time to apply
some nice patches from Jonas Pfenniger for easily setting up redirects
in Mongrel.
Some of the highlighted documents people will be interested in are:
*
2006 Mar 31
2
[Howto] custom and translated AR validation error messages
Hi,
I''m putting the finishing touches on a multi-lingual application, and
just posted a blog entry on how I did translate validation errors
generated by ActiveRecord at: http://www.myowndb.com/blog/?p=4
I found it surprisingly easy, and thought I''d document it.
The translation is based on a plugin I plan to publish really really
soon, more info whith the upcoming announcement.
2005 May 29
1
Disabling logging for web service calls?
I''m using ActionWebService to allow users to upload files to my rails 
app. I do this by encoding to Base64. The problem with this is that 
rails logs the file data so my log file size spirals out of control. Is 
there any way to selectively disable logging when the web api is 
invoked? ActiveRecord::Base.silence doesn''t seem too useful here as it''s 
only called AFTER
2006 Jul 21
2
File.open behavior for ActiveRecord, to ensure save after manipulation?
File.open in core Ruby is nifty, in that it automagically closes the
file when you''re done using/manipulating it. I''m wondering whether
there''s something like that for ActiveRecord?
So you can do:
AR.find(23).open {|ar|
  ar.foo = ''bar''
  ...
}
And ar.save would be called when the block closes.
-- 
-Alder
2007 Dec 19
0
AWS vs REST and XML-RPC
Ok so DHH in the release post for Rails 2 talked about how there was  
clearly a side taken in the SOAP vs REST debate, and REST had one.
So what does that mean if one is wanting to create a small blogging  
engine with Rails 2, and want''s to use an external blogging  
application to connect with it?
Before it looked as if the Blogger API and MetaWeblog API were two  
ways of going
2006 Jan 27
2
Forms and one-to-one association
My models are:
class Event < ActiveRecord::Base
    belongs_to :location
class Location < ActiveRecord::Base
    has_one :event
The view:
...
<%= datetime_select ''event'', ''meet_at'', :start_year => 2006  %></p>
<%=	collection_select(:event, :location, @locations, :id, :name) %>
..
The problem is that in the controller, when I
2007 Nov 29
0
is mutex lock on mongrel needed for activerecord?
I''ve seen a bunch of posts in various place about whether or not
mongrel needs to lock when doing activerecord queries.  I''m talking
outside the context of rails here, for example, in a custom mongrel
handler.  It seems to work fine for me without a lock, but I haven''t
done any extensive testing.
When I ask around, some people say you need that mutex lock with
2011 Jan 12
1
snowfall
Hello,
Just wondering why I am unable to run this in parallel.
A dput of my dataset is attached at the end. Please use to create my data
object.
I want to run this function in parallel (not sure if this is an efficient
implementation):
#Function to calculate the time to maturity for the option
require(fCalendar,quietly=TRUE) #Trying to calculate the trading days
2006 Mar 20
2
Testing Models And Fixtures
I have finally decided to look into testing and I am going through  
the examples in the AWDWR book and I tried the following and it does  
not work... even though I don''t see why it shouldn''t.
===========
posts.yml
===========
basic_post:
   id:           1
   title:        Title
   body:         Body
   created_at:   2006-02-01 00:00:00
   updated_at:   2006_02-02 00:00:00
2006 Jan 12
8
Synching between Sqlite and MySql
Hi folks,
I am running an offline Rails app that periodically connects to the 
Internet to download the latest catalogue, and upload any new orders.
I am about to implement the synching bit - and was thinking whether 
there is any other solution other than writing webservices and code to 
do a manual sync of the data, or whether there is a more nifty and 
robust way using say replication?
2012 Feb 01
2
How do I install this gem?
I''m trying to figure out how I can setup my own forums using Ruby, but I
can''t get passed installing "nifty-generators"... I haven''t a clue how
to install the gems... Please tell me what I''m doing wrong?
I open the command prompt, I type in :
gem install nifty-generators
And this is what I get:
Successfully installed nifty-generators-0.4.6
1 gem
2006 Apr 10
3
Regarding using Web service to handle file uploads
I am trying to code a Web Service in rails that can handle file uploads. Now 
as i read, SOAP 1.1 doesn''t support this yet..so i will have to use SOAP4R, 
right?
This is fine from server side...but will this API will be compatible to .NET 
clients, which will be using standard SOAP API perhaps.
Any idea, whats the way to go here?
2004 Aug 25
1
Difficulties in starting up with its package
Folks,
I'm trying to learn `its' and am stuck on many basics. Could you
please help? I am on R 1.9.1 (2004-06-21) on Linux 2.4.17 #2. My its
version says
  Packaged: Tue Apr 27 13:38:25 2004; HeywoodG
  Built: R 1.9.0; ; 2004-04-28 15:03:13; unix
This part flows fine --
  library(its)
  x1 <- newIts(start="2000-01-01", end="2000-01-10", 1:30, ncol=3)
  print(x1)