similar to: any restful client other than active_resource?

Displaying 20 results from an estimated 60000 matches similar to: "any restful client other than active_resource?"

2008 Sep 22
0
'require frameworks' : no such file to load --active_resource (Runtime Error)
My project was working fine on local machine. For uploading this project on hosting server (shared hosting, no direct access of terminal). I freezed gems on local machine. I also run : "rake rails:update" on command prompt to update "config/boot.rb". When I run command "ruby script/server" I faced bug on command prompt :
2009 May 28
0
Re: ActiveResource as API test rig? Two jsons?
bump... On Wed, May 20, 2009 at 3:57 PM, Marc Byrd <dr.marc.byrd-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> wrote: > Hi, > > I''m using ActiveResource as an API test rig for an API we''re developing for > our PHP app - the goal being to validate that we''re following some > externally validated conventions for ReSTful API and that we can support at >
2007 Sep 22
4
ActiveResource, find(1) works but no find(:all)
Hi, I''m on edge and Fuser.find(1) works but Fuser.find(:all) shows the error [1]. Fuser is declared here [2]. Do you know what''s happening? Thanks. [1] ActiveResource::ServerError: Failed with 500 Internal Server Error from /.../vendor/rails/activeresource/lib/active_resource/connection.rb:124:in `handle_response'' from
2007 Jun 27
5
How to make attachment_fu generate RESTFUL URL
hi folks: I follow this article:http://clarkware.com/cgi/blosxom/2007/02/24 all goes well except the public_filename ,it return something like "photos/0000/0001/test.jpg" ,not the expected RESTFUL URL LIKE ''photos/1/test.jpg'',any suggestion? My Env is Rails 1.2.3 on Ruby 1.8.6 with attachment_fu from http ://svn.techno-weenie.net/projects/plugins/attachment_fu/ by now
2009 May 20
1
activeresource-2.3.2 HTTPHeaderSyntaxError
Hi, I''m upgrading my app from 2.2.2 to 2.3.2 and am having a problem with ActiveResource. class FooResource < ActiveResource::Base self.site = "whatever" self.element_name = "foo" end FooResource.create(:bar => ''baz'') raises: Net::HTTPHeaderSyntaxError: wrong Content-Length format from
2006 Oct 16
0
Restful routes, not repeating yourself and non-standard rest actions best practices
So I''ve recently started playing with the restful routes support in edge rails, converting a few of my controllers to support all the standard operations.. One thing that''s been bothering me, however, is the following: Before using restul routes, I would define an edit method in my controller which would be responsible for both creating new objects as well as editing
2007 Mar 02
2
ActMethods has been removed from the module tree ???
Hello, I wrote a light weight version of acts_as_attachment and this has been working fine for some time now (about a week). Now i get the title error: ActMethods has been removed from the module tree but is still active! I have updated edge rails a few times as my project uses active_resource. The closest thing ive found is an AAA post on beast forum: http://beast.caboo.se/forums/2/topics/664
2007 Feb 05
2
Restful table column sorting with pagination
Anyone able to implement table column sorting and pagination with Restful routes? -- Posted via http://www.ruby-forum.com/. --~--~---------~--~----~------------~-------~--~----~ 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-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org To
2006 Aug 11
0
Resotolog-1.2 - RESTful blog example (was Community request - can someone show me REST? )
On 8/2/06, Alisdair McDiarmid <alisdair@...> wrote: > Here you go: > http://randomoracle.com/stuff/RestBlog.tar.gz Hi guys, i modified a little the original Alisdair McDiarmid''s sources and created very simple blog system. So the announce follows: Restolog - RESTful blog example ========================= Very simple blog system based on REST/CRUD ideas. Sources (all
2006 Aug 01
2
restful controllers - howto nest with link_to?
Hi List, I''m trying to get my grip on the restful methods that are now part of edge rails. Making the first steps was impressive as well as easy because there are already great resources on the blogs of early adopters: http://www.ryandaigle.com/articles/2006/08/01/whats-new-in-edge-rails-simply-restful-support-and-how-to-use-itand
2008 Aug 27
6
Restful routes
Hi, I''m pretty new to the concept of restful routing and am struggling to find any rails 2 info that helps with what I''m looking for. I have a regular scaffold setup and the routes are setup as default map.resources :pages I would like to be able to use titles in the url rather than relying on the id. Eg localhost:3000/pages/sometitle instead of just localhost:3000/pages/1
2009 Sep 25
1
generate model error
I''m new on rails, and I encountered a problem when I am doing a tutorial: that''s a simple application without a database. First "rails simple_app" And modify "enviroment.rb" # Skip frameworks you''re not going to use. To use Rails without a database, # you must remove the Active Record framework. config.frameworks -= [ :active_record,
2007 Apr 24
1
bitmask(bitwise operation) support in Ferret
Hi, in my person model, I have a enumeration field "role" that take bits like 1, 2, 4, 8, 16, ..... they represent person roles(eg: admin(1), QA(2), manager(4) .... ). Each person can take on multiple roles. say there''s person A that''s both a admin and QA(the role value is "3") so if I search like "Person.find_by_content(''role:(1))", I
2006 Aug 02
1
Use Non CRUD with Simply RESTful
Hey guys, I''m trying out the new RESTful bits in Edge Rails, and am having a bit of trouble wrapping my brain around certain things. For instance, say I have a page that is separated into sections with tabs at the top. I want to replace divs on the page with RJS. Now typically before I''d have a method on the controller that rendered an RJS template to accomplish this.
2007 May 29
1
is "IN" a special word?
Hi, I am trying to do a search for a field that contains the word "in" or "IN", but ferret doesn''t return me any result. class User < ActiveRecord::Base acts_as_ferret :fields => { :user => {:store => :no }, :len => {:store => :yes} } end ruby script/console >> User.find_by_contents(''Cal'') =>
2007 Apr 30
1
Can''t search fields with space
Hi, I have a user model that has a city field which is searchable using acts_as_ferret. But I can''t get it to return any result whether I use :city => {:store => :no, :index => :untokenized}, or :city => {:store => :no} in my User model''s acts_as_ferret option >>> User.find_by_contents("city:(cal poly)") =>
2007 Feb 01
12
RESTful Rails and other musings
Hi all, I would first like to introduce myself to the Ruby on Rails (RoR) community and to say that I hope to begin to build some relationships with other RoR developers. I''m a long time Java programmer (5+ years). Java was my first experience with Object Oriented Programming (OOP). Before Java I developed using many other languages including C, Pascal, Fortran, BASIC, Visual Basic,
2010 Jun 17
2
"LoadError: no such file to load -- openssl", following Rails Guides
[With apologies for cross-posting at http://railsforum.com/viewtopic.php?id=39587] Hi all, I''m following the edge ''getting started'' guide at http://guides.rails.info/getting_started.html, running ROR 3. I''m running Ruby 1.9.2 (as instructed by the guide), installed using RVM. I get an error when following "4.3 Setting the Application Home Page".
2007 Oct 05
1
RESTful Thinking
Okay, so I am trying to embrace the RESTful approach to web application design and wanted to get some feedback from others. I understand that it can be done different ways, I''m just interested to see what real RESTful theorists think. Lets say that you have an application that has lists and items on that list. I can see how both lists and items can be set up as resources. Now, lets
2007 May 03
1
Numeric Range or comparision doesn''t work
Hi, it looks like Ferret still compares numeric fields by lexical ordering, not numerical ordering. I am using Ferret 0.11.4(I tried in both linux and windows, the results are the same). index = Ferret::Index::Index.new() docs = [ {:num => 1, :data => "yes"}, {:num => 1, :data => "no"}, {:num => 10, :data => "yes"}, {:num => 10, :data