Displaying 20 results from an estimated 900 matches similar to: "SimplyRestful bug?"
2006 Aug 01
1
SimplyRestful
Hi, Is it SimplyRestful compatible with Rails 1.1.4 or Would I need edge 
Rails?
-- 
Posted via http://www.ruby-forum.com/.
2006 Jun 28
2
simply_restful plugin tests failing???
Has anyone successfully ran the simply_restful tests?  Here is how I''m
running the tests and the first error.  I''m I missing something here?
>rails test
>cd test
>rake rails:freeze:edge
>./script/plugin install simply_restful
>ruby vendor/plugins/simply_restful/test/routing_test.rb
Loaded suite vendor/plugins/simply_restful/test/routing_test
Started
FFFFF
2006 Jul 22
12
Community request - can someone show me REST?
I mentioned this in another thread, but I''ve got a formal request now.
 After reading tons of stuff about REST, I don''t really get it.  I
need to see an example.
I''d like someone to write up an example blog app with these requirements
- RESTful using the simply_restful plugin (or edge rails)
- allows posting of comments to articles
- has categories for posts
No need
2012 Mar 02
0
ConnectionNotEstablished when using connection on AR::Base abstract subclass
I''m using AR outside of Rails and calling establish_connection on an
ActiveRecord::Base abstract_class subclass (to protect my connection
in case anyone else is using AR).  It was working just fine with AR
3.0.9, but I recently attempted to upgrade to AR 3.2.2.  Now, when I
hit a "nested" query from a has_many, I get a
ActiveRecord::ConnectionNotEstablished.  If I call
2006 Aug 10
6
Multiple sites using one data source
Hi,
Just wondering if anyone has any suggestions as to the best way to 
provide access to the same data source for the (possible) creation of 
multiple web sites.  I figure my options are:
- Direct database access over tcp
- ActionWebService
- Wait for ActionResource
I''ve done up some work with ActionWebService already, but I don''t think 
it''s going to work because it
2006 Jul 17
14
REST Relationship Models
I''m trying to figure out an elegant way to do this:
I have the following three tables:
people, employer, employees
And consequently the following three models:
class Person < ActiveRecord::Base
end
class Employer < ActiveRecord::Base
  has_many :employees
end
class Employee < ActiveRecord::Base
  belongs_to :person
  belongs_to :employer
end
I want to be able to say:
2006 Jul 12
6
So what is REST? I don''t get how it fits in Rails
Does someone have an actual example of this?  I saw DHH''s slides where
he said that you could have your app automatically respond with HTML,
XML, atom, whatever.  So far I''ve found tons of discussion on REST and
CRUD in Rails, but I haven''t seen anything that actually shows me what
it all is.  There''s simply_restful, which apparently makes things
easier...I
2006 Jul 31
3
Simply_RESTful and Bulk Import URLs
Hi,
I have a people controller, and want to import bulk import multiple 
people from a CSV file.
In my routes.rb file I have:
map.resource :person
Now, it''s a little unclear to me how to further configure the routes to 
allow me to add the following URLs:
I need a URL to choose a file to upload, so I need an HTML ''frontend'' 
for it, so I figured the following URL
2006 Jul 30
1
custom routing in simply_restful
Is there information on how I can define custom paths/actions other than 
these:
/users/new	GET	new
/users/id;edit	GET	edit
so for example I can have my own:
/users/log_in  GET log_in
/users/id;process_log_in GET process_log_in
So far I cannot find any documentations on these at all.
-- 
Posted via http://www.ruby-forum.com/.
2006 Jul 09
1
REST Interface
Is the REST Controller (for calling APIs through the REST interface) 
already built-in ?? Or, I have to generate one -- generate controller 
rest ??
MSN id: ICEMANyears@netscape.net
-- 
Posted via http://www.ruby-forum.com/.
2006 Jul 23
2
REST controller with up and down for model that acts_as_list
Hi,
I have the following models
class Department < ActiveRecord::Base
  has_many :products
end
class Product < ActiveRecord::Base
  belongs_to :department
  acts_as_list :scope => :department_id''
end
When I look at a list of products for a particular department I have
up and down buttons to re-order the products. Currently my controller
is something like this
class
2006 Aug 04
4
REST
I''ve been looking into RESTful approaches lately.  Everything I know  
my dog, Lelu, taught me.
REST (REpresentational State Transfer) is an architectural technique  
for networked applications first described by Roy Fielding in his  
dissertation at UC Irvine-- excellent work, especially considering  
the tempting proximity of Newport Beach.  As Lelu described it to me,  
REST strives
2006 Aug 31
0
ActiveResource
I''ve been sitting on an ActiveResource patch for a few weeks, waiting
to get some feedback from David.  But, I see other folks like Jeremy
are starting to use it, so I committed my patch:
http://dev.rubyonrails.org/changeset/4890
It gets all the basic operations in working order, and adds support
for prefixes.  I wasn''t quite sure how to pull this off.  Right now,
I''m
2006 Aug 30
0
Rubyists of Second Life Meeting on RESTful Routes | 08/31/2006
The virtual user group Rubyists of Second Life will meet this Thursday,
August 31, and next Thursday, September 7, at 6:00 pm PST.
This Thursday, Theodore Polonsky will be presenting on simply_restful
and the new RESTful routes in Rails Core, and Polypus Watts will be
presenting on DRP: evolutionary/social programming for
interactive/design tasks in Ruby.
Second Life is a virtual 3D world and
2006 Aug 06
1
Guide to new RESTful routing in Rails
Does anyone have any links to a comprehensive guide on the new routing 
in Edge Rails? I''m keen to integrate it into a new app and have read the 
Riding Rails post by Rick but would like to read a more comprehensive 
guide to its usage.
-- 
Posted via http://www.ruby-forum.com/.
2006 Aug 08
2
Resources and pretty URLS
Using the brand-spanking new map.resources for REST goodness, is there a 
way to pass in additional parameters, or do I have to go back to 
standard routes.  For example, is there a way to use the map.resources 
to response to urls like:
/blog/2005/02/03/ => :controller => :blog, :action => :show, :year => 
2005, :month => ''02'', :day => ''03''
2019 Oct 18
2
Top 7 Programming Languages That Employers Really Want
Subject: Top 7 Programming Languages That Employers Really Want
Good day from Singapore,
Article: Top 7 Programming Languages That Employers Really Want
Author: Nick Kolakowski
Date Published: 14 October 2019
Link: https://insights.dice.com/2019/10/14/7-programming-languages-employers-want/
This is just a quick survey. May I know what programming languages do
you know? I am considering being a
2019 Oct 18
1
Top 7 Programming Languages That Employers Really Want
explanation to my comment.
It depends where you live.
On Fri, 2019-10-18 at 08:46 +0200, Georgios wrote:
> Your sample isnt representative.
> 
> 
> On Fri, 2019-10-18 at 10:28 +0800, Turritopsis Dohrnii Teo En Ming
> wrote:
> > Subject: Top 7 Programming Languages That Employers Really Want
> > 
> > Good day from Singapore,
> > 
> > Article: Top 7
2006 Jul 07
5
Can a route require POST or GET? / REST problem with routing
Hi,
A store front a customer wants to GET /product/5/show. But for the
application this is really GET /cart_item/new/5 or even better
/cart_item/new?cart_item[product_id]=5
When the customer clicks add_to_cart they POST /product/5/show so that
the url doesn''t confuse the user when any validation errors occur. But
for the applicaiton this should be POST
2006 Mar 13
6
JobsOnRails
Announcing... JobsOnRails!
I''m creating on a Ruby on Rails oriented job site and will be launching 
in the next few weeks. It''s a Rails-centric place for developers and 
employers to get in touch with a minimum of hassle.
For now, I have a short outline of my ideas and an email signup form on 
the live site at http://www.jobsonrails.com.
The site is coming along nicely and