Displaying 20 results from an estimated 2000 matches similar to: "httparty vs mechanize"
2011 Jun 09
2
nginx + passenger + mongoid
When I set the rails_env to production in nginx.conf I get:
Error message:
db_name must be a string or symbol
--
You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group.
To post to this group, send email to rubyonrails-talk-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org
To unsubscribe from this group, send email to
2010 Oct 15
3
Ruby as a web client
Hello,
I need to write a program that will talk http to some web
applications. I was thinking to use Rack. I am not sure what would be
a good way to do this. Is there a better or higher level gem that I
can use for this.
Thanks in advance!
Alex
--
You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group.
To post to this group, send email
2011 Apr 11
12
Freelance Developer using Rails
Hi all,
Is anyone doing freelance rails development? I need some advice
before I jump in.
Thanks,
--
You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group.
To post to this group, send email to rubyonrails-talk-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org
To unsubscribe from this group, send email to
2011 May 09
17
requests hanging
If my Rails server has been sitting idle for a while, it does not respond to
new requests.
What is the best way to troubleshoot something like that.
I am using Rails 3.0.7 in development.
--
You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group.
To post to this group, send email to
2010 Jun 24
0
method name collision between cache-money & httparty
I have a model that calls:
include HTTParty
but also gets cached using cache-money. It seems that they both add a
"get" method to ActiveRecord, and they collide when I try to use both
of them.
What''s the best way to fix this? If it''s a namespace of some kind, how
do I set up httparty so that I have to call HTTParty::get instead of
plain "get"? Is there a
2009 Jan 29
0
Trying to unpack httparty into my rails project
Has anyone had success doing this? Aside from freezing my version of
rails, I haven''t done
too much unpacking of gems into my rails apps. I have the following
in my app
-vendor
- httparty
- json
Is there anything I need to do to have the project know about BOTH of
these?
Thanks in advanced...
--~--~---------~--~----~------------~-------~--~----~
You received this message
2007 Sep 04
1
Variable scope in a function
Hello,
I apologise in advance for this question; I'm sure it is answered in
the documentation or this mailing list many times, however the answer
has eluded me.
I'm trying to write a function where I don't want external variables
to be scoped in from the parent environment. Given this function:
test_func = function() {
if (exists("kat") == FALSE) {
2009 Mar 16
5
Dovecot LDA and "undeliverable" emails
I googled around looking for this, apparantly my google-fu is failing this
morning. I just switched over to using a Postfix/Dovecot virtual set-up
with Dovecot as the delivery agent. One of my users mistyped his email
address when he paid for something through Paypal and the reciept got
forwarded to everyone. It didn't bounce or just go to Postmaster, it was
delivered to every valid user on
2003 Sep 19
1
Revisiting slow explorer.exe connections
Hi:
I recently encountered a problem reading directories via an XP Pro
client shared from a samba server (redhat's rpm samba-2.2.7-5.8.0). File
listing was sometimes VERRRY slow. It was not a DNS issue in this case.
The symptoms, and my fix is below, but I wanted to ask, is there a way
to deal with this from the server? (I dunno- like redirecting port 80 or
something).
>From the client,
2010 May 17
2
"end of file" error for "net/https"
Hi,
I have written following code:-
It is working fine for http protocol. But whenever I am doing for https
I getting an error "end of file reached".
Can anyone tell me what is wrong with the code?
def email_to_friend
require ''net/http''
require "net/https"
require ''uri''
#res =
2007 May 24
2
[LLVMdev] LLVM Developer Meeting
Hi,
I just found out about this, and I'd like to attend.
I'm in the process of getting to know llvm on a project I'm working
on for Apple.
Thanks,
kat
2012 Jun 11
3
Simple Binning of Values
Hello
I am very new to R. I have an R task to complete that I have not been able to find a straightforward answer to as of yet. I have a list of values. I would like to count the number of values that are in one bin, the number that fall in the next bin, etc.
For example
My input file is: 123 48 342 442 43 232 32 129 191 147
I would like the output to be similar to:
0-100 3
100-200 4
2013 Oct 08
6
Consuming a web service created with Rails, ETL vs Rest?
Hello, I need to consume a web service of an App called RedMine created
with Rails, in order to have a sort of "separate" interface (not the same
as the app) for one of the departments (that interact with the app) to
interact with it and generate some different reports based on the same data.
I don''t know much about either (ETL and Rest), all I know is that ETL seems
to
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:
2010 Nov 28
2
converting xml to a OpenStruct
Hi just wondering if there is a easy way to turn an xml entity into a
object like of type OpenStruct where i can access everything like a
property?
It''s kind of like parsing xml, I already know about nokogiri, but I want
to work is a OpenStruct and not a DOM object, does that make sense? =P
--
Kind Regards,
Rajinder Yadav | DevMentor.org | Do Good! ~ Share Freely
GNU/Linux:
2004 Feb 18
2
Printing vs. iptables
Recently, Windows 2000 SP4 clients have developed a problem when using a
network printer connected to a Samba print share.
Some applications are OK. But take, well, notepad, for example. Selecting
a local printer is normal, but there is a two minute delay (!) in selecting
a network printer. Once selected, all is well. All smb operations are
frozen until the selection happens. This is
2009 Mar 10
4
hi urgently need help.
Hi everyone
Last night I set up ubuntu 6.06 - on a virtual machine. I installed wine and wine doors on it to test run a software or too - before making a switch to ubuntu ultimate edition next week. However wine and wine doors are not working.
I used the links below to register on software properties and I included the authentication keys
wine
deb http://wine.budgetdedicated.com/apt dapper
2011 Apr 02
2
Ever changing environment... stop it??
Hi all... relative new guy....
I am a new rails developer but am working as hard as I can to become
competent.
What are your best practices for locking down an environment to
develop projects in? I want to set up a server and also a local
environment then build projects for ... say... 6 months without
changing anything... is this done in practice?
Thanks,
Shawn
--
You received this message
2012 Feb 16
3
Mechanize::ResponseCodeError: 500
> Excuse me if my issue is a little bit application-specific. I need
> Mechanize to submit bunch of data from our server to an online reservation
> system. The url is https://secure.mdausa.org/donate/
> It works in my browser however using mechanize following error appears:
>
> /Library/Ruby/Gems/1.8/gems/mechanize-2.0.1/lib/mechanize/http/agent.rb:241:in
> `fetch'':
2010 Dec 06
10
R crashes when making graphs
hi,
i am running R with JGR and Deducer under Ubuntu Mint Lucid. since i updated to R 2.12 i can no longer make graphs - R just crashes.
the full error report was posted to launchpad (https://bugs.launchpad.net/ubuntu/+source/openjdk-6/+bug/675905) without any success so far.
anyone with a similar problem or helpful suggestions?
thanks!
kat