Displaying 20 results from an estimated 30000 matches similar to: "Accessing Metaweblog API"
2006 Feb 16
0
Web service interface
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 working 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 to the blog using @blog = Blog.new(id) and then save
posts
2006 Feb 20
9
a complex availability problem
Ok, this is a hard one and I just thought I''d see if people on the
list had any suggestions on how they would approach this, I''ve not
started to implement the rails to handle this yet as I''m still at the
paper planning phase.
I''m building an app that has to handle availability for travel packages.
The complexity comes in that a person can choose a start
2006 Feb 19
3
Is there a ''right'' way to do _tag field validation?
I''m reading the Ruby on Rails book by the pragmatic programmers, and it has
a brief section on using the _tag input fields (text_field_tag, etc) to
collect form data for fields that don''t represent fields in a model. They
do validation manually in the controller, which seems really clunky. Is
there any way to normalize the form validation between model input fields
and non-model
2017 Dec 04
0
Fwd: Qwery regarding Selinux Change Id context
Hi All,
Thanks for the information.
But after resetting the semanage User/login, and moving the targeted folder
to old one and then install the default target. then also its still showing
the
Id context as context=*system_u:system_r:unconfined_t:s0-s0:c0.c1023.*
*What I observed is after changing the permission using semanage command
also, its still showing the system_u:system_r. *
*Check the
2009 Aug 14
0
[PATCH] xen/xsm/flask: Fix AVC audit message format
Fix formatting of Flask AVC audit messages so that existing
policy tools can parse them. After applying,
''xm dmesg | audit2allow'' yields the expected result.
Signed-off-by: Stephen D. Smalley <sds@tycho.nsa.gov>
Signed-off-by: George S. Coker, II <gscoker@alpha.ncsc.mil>
---
xen/xsm/flask/avc.c | 8 +++-----
1 file changed, 3 insertions(+), 5 deletions(-)
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 -
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 Apr 20
2
Broomstick - Making Sweeping a Little Bit easer
Page sweeping just got a whole lot easier! Rails only offers methods to
expire a single page but no methods to expire an entire action or
controller. This plugin does just that.
This initial release of the plugin only adds one method
(expire_each_page() ) to your disposal. Here?s a quick example and
exactly how it works.
expire_each_page(:controller => ''pragmatic'',
2005 Dec 01
2
View helpers and nested attributes
Hello all,
I have a model with two entities (document and asset) and a 1:1
relationship defined between them (every model has an asset).
I want to generate a rthml view that generates a hash for document
attributes and a nested hash for asset attributes (for example
{:document =>{:name=>XXX :asset => {date =>XXX}})
According to the Pragmatic Programmers book (page 355), the input
2006 May 17
1
rails will page cache all actions but one....why?
I have page caching turned on for all actions in my controller
(pragmatic is it''s name). Rails will cache each actions except for
one.
I''ll list the three ways this action can be called. It is only cached
one of the ways. Can somebody help?
http://www.recentrambles.com/pragmatic/index - This will not cache
httphttp://www.recentrambles.com/pragmatic This will not
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
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)
2006 Aug 18
2
What is the Ruby Shell and how do i get to it
I am using Ruby 1.84 19 installed on a Windows XP home edition machine.
I am using the pragmatic programmers book "Agile development with
Rails". The book asks me to access the "ruby shell". Being a newbie,
what is the Ruby shell? and how do i access it on windows?
--
Posted via http://www.ruby-forum.com/.
2006 Mar 01
2
In_place_editor in a For loop
I''m using Ajax to create a list of items. Once these items have been
created the user can edit in place and delete them. I''ve got the ajax
working for delete and removing the element from the page, but the
in_place_editor_field doesn''t seem to like being in a for loop. I''ve
got in_place_editor working for single items, but what''s the syntax
2006 Aug 17
4
Directory Help
I am a newbie to ruby on rails. I am using the pragmatic programmers
agile development with rails book. I am at the beginning, i have
installed MySQL and ruby on rails but the book asks me to "create a
directory". Being a person who has only ever done a basic ruby trial
(at tryruby.hobix.com) and learnt extremely basic HTML is there anyone
out there who can help me and give me
2006 Apr 17
1
problem with reverse mapping (url_for problem)
I modified my routes to that you can reach my index action by just
typing in the site name (ie www.mysite.com). I did this by:
map.connect '''', :controller => "pragmatic"
I need to be able to do a url_for(:controller => ''pragmatic'') or
url_for(:controller => ''pragmatic'', :action => ''index'') and have
2005 Mar 07
0
Rails 0.10.1: FCGI stability, WS generator, tons of fixes
This is the point release to tie up the various loose ends introduced
with Rails 0.10.0. Action Web Service has seen the most interesting
improvements feature-wise with a new generator and tie-ins with the
testing setup. There''s better support for XML-RPC: Instead of
performing type checking on the parameters the remote client sends, AWS
does casting to try and make it compatible
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 Feb 27
5
the best open source OS for Rails?
I''m rigging up some virtual machines in VMware to test out a new
production configuration.
Up till now I''ve been using Ubuntu Breezy Server distribution pre-
installed on dedicated boxes by the hosting company, but in this
scenario I am free to choose whatever OS I want.
I''ve had some problems with Ubuntu Breezy (likes to call fastgi -
fcgid etc.) and a low
2006 Jul 21
3
How can I create OrderItems that go in a Order?
I suspect my problem is similar to having an order and wanting to have
order items as part of the order, so I''ll explain the problem in those
more familiar terms and then explain what if anything makes my actual
situation different at the end.
In an Order lets say you have: shipping_address and a shipped bool.
OrderItem has quantity and name
So Order has_many :OrderItems, and OrderItem