similar to: API Location Header

Displaying 20 results from an estimated 50000 matches similar to: "API Location Header"

2016 Jan 15
0
JDataFrame API
Tom, this may be good for embedding small data sets, but for practical purposes is doesn't seem like the most efficient solution. Since you didn't provide any code, I built a test case using the build-in Java JSON API to build a medium-sized dataset (1e6 rows) and read it in just to get a ballpark (see https://gist.github.com/s-u/4efb284e3c15c6a2db16 # generate: time java -cp
2016 Jan 15
0
JDataFrame API
> On Jan 15, 2016, at 12:35 PM, Thomas Fuller <thomas.fuller at coherentlogic.com> wrote: > > Hi Simon, > > Thanks for your feedback. -- this is an observation that I wasn't > considering when I wrote this mainly because I am, in fact, working > with rather small data sets. BTW: There is code there, it's under the > bitbucket link -- here's the direct
2012 Jul 12
0
Set requests' header inside spec/routing
I''m working on a Rails application having a REST API in JSON format and versioned (according to this excellent Ryan''s cast: http://railscasts.com/episodes/350-rest-api-versioning). For instance, there is a spec/requests spec: require ''spec_helper'' describe "My Friends" do describe "GET /my/friends.json" do it "should get
2011 Jun 27
0
Re: Digest for rubyonrails-core@googlegroups.com - 1 Message in 1 Topic
Got a URL on that video? On 2011-06-26, at 8:32 AM, rubyonrails-core+noreply@googlegroups.com wrote: > Today''s Topic Summary > Group: http://groups.google.com/group/rubyonrails-core/topics > > initialization documentation [1 Update] > Topic: initialization documentation > Steve Schwartz <steve@alfajango.com> Jun 25 11:41AM -0400 ^ > > Neeraj Singh has
2012 Sep 15
10
Versioning of Views; Our Approach
My friend Ben Willis and I have developed a gem for the versioning of Rails views. https://github.com/bwillis/versioncake The versioning is done by the naming convention. Image the following series of files : show.v3.json.jbuilder show.v2.json.jbuilder show.v1.json.jbuilder create.v2.json.jbuilder create.v1.json.jbuilder The developer pre-defines all view versions in their config. When a
2016 Jan 15
2
JDataFrame API
Hi Simon, Thanks for your feedback. -- this is an observation that I wasn't considering when I wrote this mainly because I am, in fact, working with rather small data sets. BTW: There is code there, it's under the bitbucket link -- here's the direct link if you'd still like to look at it: https://bitbucket.org/CoherentLogic/jdataframe Re "for practical purposes is
2012 Aug 29
1
Wierd encoding problem
I put the complete error description into a gist (https://gist.github.com/5d2cef1414f1643fca5a) for better readability. The basic problem is that a properly encoded Json post request gets decoded an a very weird way. For example a "ΓΌ" which is encoded as "\u00fc" in uft-8 becomes ">\x93" or "~\xD4". I get different results ever time I run the decoder.
2010 Sep 02
5
Re: Exclude ActiveRecord in Rails3
What''s the best way to exclude ActiveRecord in Rails3? In Rails2, one could just do: *config.frameworks -= [ :active_record ]* in the configuration block in environment.rb. Is it possible in Rails3? Thanks. Anuj -- You received this message because you are subscribed to the Google Groups "Ruby on Rails: Core" group. To post to this group, send email to
2012 Dec 15
7
Re-imagined README.md for rails applications
Most of the time I use readme.md file to explain how to properly install the dependencies and run the application for first time. I use [something like](https://gist.github.com/3058000) as a README.md scaffold. Just an idea, What would you guys think about replacing the current readme with something like this? https://gist.github.com/3058000 Oguz Bilgic Thanks -- You received this
2018 Sep 26
0
Re: OpenStack output workflow
On Wed, Sep 26, 2018 at 09:57:22AM +0200, Fabien Dupont wrote: > Hi, > > There has been discussion about the OpenStack output and Richard asked for > a public thread on this list, so here it is. > > For v2v from VMware to RHV, there is a Python script that does some extra > steps to create the virtual machine after the disks have been converted. We > want to have the same
2010 Nov 22
0
Rails-3.0.3 API change? Completed 406 Not Acceptable
X-posted from Ruby-on_rails Talk Updating to Rails-3.0.3 resulted in 14 tests failing. Investigating one of them I discover that this message "Completed 406 Not Acceptable in 223ms" is being returned instead of the expected page. This error indicates that the format of the request cannot be satisfied. Usually a format specification is html or json or pdf. Imagine my surprise then
2007 Oct 25
0
ActiveSupport's JSON decoder is incorrect.
http://dev.rubyonrails.org/ticket/9990 and reiterated here: The current ActiveSupport JSON decoder uses YAML.load to parse json documents, and YAML has different escaping rules from JSON. In particular, in JSON, forward-slashes must be escaped (I''m not sure why, it isn''t neccessary for Javascript, but thats the spec.) This presents problems for URLs in ActiveSupport JSON:
2010 Jun 14
8
Default Test library
Along the same lines as the default javascript library discussion [1], why don''t we switch the default test library to RSpec? The stats [2] posted by Xaviar in the other thread seem to support that RSpec is the preferred way to test. [1] http://groups.google.com/group/rubyonrails-core/browse_thread/thread/e9b9cf2233d9a59b [2] http://survey.hamptoncatlin.com/survey/stats -- You received
2018 Sep 26
2
OpenStack output workflow
Hi, There has been discussion about the OpenStack output and Richard asked for a public thread on this list, so here it is. For v2v from VMware to RHV, there is a Python script that does some extra steps to create the virtual machine after the disks have been converted. We want to have the same behavior for OpenStack, i.e. have virt-v2v create the instance once the volumes have been created.
2014 Dec 01
2
Modified metaflac add --output-json
Hi, I modified the metaflac program to output in JSON format if the --output-json switch is used, and made a simple Go program to demonstrate use of the output. I imported the MIT licensed json-c library into src/share/json-c and put headers in include/share/json-c. For example, # metaflac --output-json --list myfile.flac example output: https://gist.github.com/waitman/847a8cae4a650a8898ee If
2016 May 24
2
New feature: HTTP API
Thanks for the new HTTP API. I get the API with some commands up and running, but I'm still not able to create folder. curl -k -H "Content-Type: application/json" -H "Authorization: Basic secret" -d '[["mailboxCreate",{"user":"user at example.org","mailbox":["INBOX/TEST"]},c01]]'
2014 Dec 02
0
Modified metaflac add --output-json
Please help me solve the following problem: FLAC tools have a lots of warnings about non-subset files during encoding, but unfortunately don't have easy way to check/test existing FLAC stream for subset compliance. "flac -a" generates the big text file that has data about each frame and subframe. But looks like I need parser and statistics tools to answer on question about subset
2010 Jun 24
0
Rails3: render_to_string of a .html.erb when request is a json request raises MissingTemplate error
I''ve the following situation (which actually works in Rails 2.3.8 and this is a result of the migration of our app to rails3): I have a partial which is rendered a few times (imagine tr''s in a table). On the clientside there''s a script that does a json request for a specific row (jQuery + ajax dataType: ''json'' and type: ''POST'') In
2007 Oct 23
2
to_json inconsistency?
Hello, ActiveSupport::JSON::Variable.to_json is the only to_json without an "options" parameter. Is this intended? For example, this code in a .rjs page[@user.dom_id].visual_effect :drop_out, :afterFinish => ActiveSupport::JSON::Variable.new("foo") fails with ActionView::TemplateError: wrong number of arguments (1 for 0) On line #7 of
2006 Oct 23
0
Using ActiveSupport::JSON in PrototypeHelper, ScriptaculousHelper
Hi all, I was looking at this ticket: http://dev.rubyonrails.org/ticket/6265 and it got me thinking: is there any reason we''re not using the tasty ActiveSupport::JSON encoder to assemble options for the various helper methods in PrototypeHelper and ScriptaculousHelper? At the moment, they use options_for_javascript() in JavaScriptHelper, which is a half-hearted JSON generator that