Thanks for your reply.

How would I get a count without passing an entire array of objects?

j


On Jun 10, 7:29 pm, Marnen Laibow-Koser <rails-mailing-l...@andreas-
s.net> wrote:
> johnmcau...@gmail.com wrote:
> > Hello Everyone,
>
> > Does anybody know how to use rest to deliver non-active record models
> > in rails 2.3.2.
>
> [...]
>
> Just set up a suitable controller (with RESTfully named methods), and
> get the data from wherever you need it.  Then send it out as JSON, XML,
> or whatever you need.
>
> REST is really all about naming and conceptual architecture.  It doesn't
> have much directly to do with ActiveRecord.
>
> Best,
> --
> Marnen Laibow-Koserhttp://www.marnen.org
> mar...@marnen.org
> --
> Posted viahttp://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@googlegroups.com
To unsubscribe from this group, send email to 
rubyonrails-talk+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/rubyonrails-talk?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to