similar to: pb when posting to an action "render_text body, :status => 400"

Displaying 20 results from an estimated 600 matches similar to: "pb when posting to an action "render_text body, :status => 400""

2007 Jun 10
0
pb when posting to an action "render_text body, :status => 400" (resolved)
Sorry for my previous mail, If I do render :text => "test", :status => 400 instead of render_text "test", :status => 400 every one (ie. mongrel & webrick) are working fine ! Sorry. Arthur
2006 Jan 05
3
Ruby OpenID library and OpenIDLoginGenerator
Version 0.9.2 of the Ruby OpenID library has been released. This latest release contains a port of the rails LoginGenerator (OpenIDLoginGenerator) that uses OpenID for authentication. Read more and download the library: http://www.openidenabled.com/openid/libraries/ruby/ http://raa.ruby-lang.org/project/openid/ A bit about OpenID: OpenID is a URL based identity system. An OpenID identity is
2006 Nov 04
0
Net::HTTP.post_form got 200 but no INSERT INTO. How come? How to fix this?
Hello, I''m playing around with net/http and open-uri Ruby Libraries.. I''m trying to post to my own rails simple new action method. Here''s my irb : irb(main):013:0> res = Net::HTTP.post_form(URI.parse("http://localhost:3002/blog2/new"), {"commit" => "Save", "signature_id" => "", "signature_content"
2007 May 21
4
Just upgraded to 1.0.0, should render_text isn''t working for me
I finally got around to upgrading from 0.8.2 (!!). I had a spec which looked like specify "should render abc123" do controller.should_render :text => "abc123" get :key end With 1.0.0, the new spec is it "should render abc123" do get :key response.should render_text("abc123") end However it doesn''t work, giving me the error: undefined
2006 Feb 01
0
Ruby OpenID 0.9.4
OpenID is a decentralized URL based identity system. This library provides a ruby interface for verifying and serving OpenID identities. More at http://openid.net/ This latest release contains many exciting new features including server support, Rails consumer and server examples, and a rails based ActiveRecord store. Features: * Easy-to-use API for verifying OpenID identities (OpenIDConsumer)
2010 Jun 17
6
Foreman / external_node.rb
Hello All, I''m trying to start using external nodes under foreman, and I''m running into some issues. I have the entries in puppet.conf: [main] external_nodes = /etc/puppet/external_node.rb node_terminus = exec The enternal_node.rb script is the one that came with foreman: #!/usr/bin/ruby # a simple script which fetches external nodes from Foreman # you
2007 Jul 27
3
Is mechanize thread safe?
Hello all, I was just wondering if anybody knew whether mechanize is supposed to be thread-safe or not? I didn''t really find any information about it anywhere. I''ve been getting a strange error in protocol.rb when I run a script that uses mechanize in a multi threaded fashion, but not with a single thread. I''m trying to write a spider that does multiple gets in
2005 May 17
5
Strings, Variables and GetText
Hi, I''m starting to use GetText and have this code: render_text %(<script language="JavaScript" type="text/javascript"> parent.mainframe.onUpdateNew("Gallery <b>#{@media.name}</b> was successfully created.", "#{@media.name}","#{String(@media.id)}","#{@media.media_type}"); </script>) I need to convert
2005 Dec 26
3
probably a very dumb question
why does <%= render_text "hey ya" %> cause ''undefined method `render_text'' for #<#<Class:0x3851120>:0x3851000>'' can i use render text in a template? -- Posted via http://www.ruby-forum.com/.
2007 Sep 29
2
REXML - XML query only returning one (last) result
I''m really new to Ruby on Rails, and I''m trying to read an XML file with REXML. No matter what I try, I am only getting the last result returned from my query. I should be getting 365 results. Here is the code: include REXML require ''rexml/document'' require ''rexml/xpath'' class MakeFootprintController < ApplicationController def index
2006 Mar 29
0
placing specific views within a subdirectory?
Can anyone show me how to go about placing specific views within a directory? ie: controllers/hello.rb views/hello/english/world.rhtml views/hello/english/people.rhtml views/hello/spanish/mundo.rhtml views/hello/spanish/gente.rhtml instead of the usual: controllers/hello.rb views/hello/world.rhtml views/hello/mundo.rhtml hello.rb currently contains the basic methods: class ChartsController
2012 Jul 23
2
Mechanize::Agent#post_connect_hook response != Mechanize#parse response
I''m working through an idea for a db-backed cache for Mechanize#get(). The idea is to use a Mechanize::Agent#post_connect_hook to cached any fetch data, and create a subclass of Mechanize::Agent#get() that checks the cache before calling super. I want to store the un-parsed (raw) page in the db, and call Mechanize#parse when there''s a cache hit, something along these lines:
2006 Jan 07
2
can store array or hash in cookies?
Hi According to rdoc: value - the cookie''s value or list of values (as an array). So, I can use arrays, briliant. But.... It does not work (at least on webrick) I wrote a controller: def check_cookies_first cookies[:chef] = {:value => ["first", "second"], :expires => Time.local (2020)} render_text ":)" end def
2006 Apr 03
9
Problem with Windows not finding methods
I am running (testing) a noob-tube for myself as follows: Windows XP SP2 lighty ruby 1.8.x rails 1.1 scgi I have everything working fairly well, but with one minor exception: the actions that I have defined as follows are not found. class MytestController < ApplicationController def index render_text "Hello Nurse!" end def dilbert render_text "Dilbert
2006 Mar 03
2
ENV[''RAILS_ENV''] pb
Hello, I want to put my app in production mode. So I write this line in environment.rb : ENV[''RAILS_ENV''] = "production" I restart webrick. If I write <%= ENV.inspect %> I have the correct "RAILS_ENV"=>"production" But browse my site and look the log, the development.log is still growing and the production.log stay to 0 ko
2005 Jun 29
0
Pb : keep the coordinates after drag and drop
Hi, I''m coding a shopping cart using your effects library. There are 2 parts in my page. On the left the list of my products and on the right the shopping cart. I can sort dynamically my products (by price, title, etc...) . I have a problem when I do a sort, and I want to drag a product. My system keep the initial position of each product. The products moves correctly after the
2011 Mar 25
0
PB Unhandled page fault on read access with a Radeon Driver
Hello , I heard some people had trouble with ati radeo fireGL before in wine getting a Unhandled page fault on read access. I have the same problem , i get on spike2 a Unhandled page fault on read access when trying to access a very important feature ,except i have the open radeon driver. Does someone know a solution? Thanks to all
2004 Feb 25
1
Pb with RODBC installation
Hello I'm starting to use R on a Windows XP Pro machine which is not connected to the internet; I want to use database connection so I downloaded the file "RODBC_1.0-4.tar" from CRAN; this file is not accepted by the "Packages->Install Packages from local zip file" menu function of R!!! I would like to know why it doesn't work and if it's possible to get
2004 Mar 31
0
pb config PDC
Bonjour j'ai configur? une controleur de domaine avec samba 2.0.7 sur AIX Lorsque je rattache des clients au domaine,j'ai le message d'erreur suivant N? de proc?dure hors du d?lai admis. Pourriez-vous m'aider svp Cordialement L.EVAIN
2001 Mar 05
1
pb with plot in nlme
hello all, I've got problems with plotting in nlme : > example(nlme) > plot(fm1) Error in do.call(plotFun, as.list(args)) : couldn't find function "xyplot" I've seen in Changelog that there have been changes in plotting funtions, may I've missed something... nlme3.1-10 _ platform sparc-sun-solaris2.8 arch sparc