search for: httparty

Displaying 12 results from an estimated 12 matches for "httparty".

2010 Oct 18
2
httparty vs mechanize
Are these two competing gems? 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 rubyonrails-talk+unsubscribe-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org For more
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 HTTP...
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 because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group...
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
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 =
2014 Mar 26
0
Heroku | Rails 4 | Ruby 2.0 - send_file not presenting file for download in the browser
...attachments to a blog. I have created a download link for people who read the blog to be able to download the attachments but I am not able to get the file to actually download via the browser. I am curious if anyone knows what could be the issue. My process is I download the file locally, using HTTParty.get, to public/images and then attempt to present the file to the user to download. Getting the file to download is working without issue. But getting the browser to present the file is my problem. I am looking for any help on what I could do to figure out what I may be doing incorrectly. Here i...
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:
2011 Jan 28
5
mysql quotation wonky
Why would, in an upgrade from 3.0.1 to 3.0.3, a rake db:migrate run this: SELECT "schema_migrations"."version" FROM "schema_migrations" vs this ? SELECT `schema_migrations`.`version` FROM `schema_migrations` __ rake db:migrate output __ rake aborted! Mysql::Error: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version
2011 Apr 08
0
eventbright gem
Hi, I am using eventbright gem for getting the event brite events. I am doing like as follows:- EventBright.setup(api_key) res= EventBright.call("event_search", {:latitude=>37.3229978, :longitude=>-122.0321823}) puts res.inspect I am getting the response as the HTTPARTY object. Can anyone tell me how can I parse the response? Also, I think I am missing something during using the gem due to that it is giving me the response as httpparty object instead of giving me as different objects. Any help appreciated. Thanks, Mike -- Posted via http://www.ruby-forum.com/....
2014 May 06
0
Failed "bundle install" due to libpq-fe.h
...ce 3.2.8 Using bundler 1.6.2 Using coffee-script-source 1.6.2 Using execjs 1.4.0 Using coffee-script 2.2.0 Using rack-ssl 1.3.3 Using json 1.7.7 Using rdoc 3.12.2 Using thor 0.18.0 Using railties 3.2.8 Using coffee-rails 3.2.2 Using daemons 1.1.9 Using eventmachine 1.0.0 Using multi_xml 0.5.3 Using httparty 0.9.0 Using jquery-rails 2.2.1 Gem::Ext::BuildError: ERROR: Failed to build gem native extension. /usr/local/rvm/rubies/ruby-2.1.1/bin/ruby extconf.rb checking for pg_config... no No pg_config... trying anyway. If building fails, please try again with --with-pg-config=/path/to/pg_config chec...
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
2011 Aug 15
3
- WEBrick server refuses to launch
...by (2.1.4) * braintree (2.10.2) * builder (2.1.2) * bundler (1.0.17) * cancan (1.6.4) * crack (0.1.8) * deface (0.5.2a 21574e8) * devise (1.3.3) * erubis (2.6.6) * evernote (1.1.0) * faker (0.9.5) * faraday (0.6.1) * fgraph (0.6.1) * heroku (2.4.1) * highline (1.5.1) * httparty (0.7.8) * i18n (0.5.0) * jquery-rails (0.2.6) * koala (1.1.0) * launchy (2.0.5) * mail (2.2.19) * meta_search (1.0.5) * mime-types (1.16) * multi_json (1.0.3) * multi_xml (0.2.2) * multipart-post (1.1.3) * mysql2 (0.2.6) * nested_set (1.6.4) * nokogiri (1.5.0) * oa-core...