search for: httparti

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

Did you mean: 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 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
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
Hello all, I am have an app that is hosted on heroku (rails 4 | ruby 2.0) that I am using paperclip-dropbox to upload 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
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
2014 May 06
0
Failed "bundle install" due to libpq-fe.h
I tried to run the command "bundle install" as follow and then I got this error: # bundle install Don't run Bundler as root. Bundler can ask for sudo if it is needed, and installing your bundle as root will break this application for all non-root users on this machine. Fetching gem metadata from https://rubygems.org/........ Fetching additional metadata from
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
Running Ruby 1.8.7, Rails 3.0.7 on a Windows 7 machine - tried going through an upgrade to Ruby 1.9.2 over the weekend, but ran into issues, so have since gone back to 1.8.7. After restoring my app and re-installing all of the gems, the application finally launches with rails s: => Booting WEBrick => Rails 3.0.7 application starting in development on http://0.0.0.0:3000 => Call with -d