Hi,

Yes, I was looking for foo.to_vcf.  For some reason I wanted to add
that to ActiveResource, but the more I thought about it, that has
nothing to do with what ActiveResource is about.  Just bad judgement
on my part.

On Aug 1, 11:22 pm, "Michael Koziarski" <[EMAIL PROTECTED]> wrote:
> On 7/28/07, Mike Loll <[EMAIL PROTECTED]> wrote:
>
>
>
> > Hi all,
>
> > I have a need for making ActiveResource have the ability to specify
> > the format much like you can specify the site.  So, right now (unless
> > I am not understanding the code, which could be, since I am a Rails
> > and Ruby newbie), all calls end up athttp://something/call.xml.  I
> > want to be able to callhttp://something/call.rssor .vcf, etc.
>
> > This is stemming from the Highrise api in 37 Signals's Highrise
> > product; I need to be able to call something other than the default
> > xml format.
>
> Why do you need active resource to use this?   ActiveResource won't be
> able to use .rss instead of .xml, do you mean you want something like
>
> @contact.give_me_you_as_vcf?
>
> --
> Cheers
>
> Koz


--~--~---------~--~----~------------~-------~--~----~
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 [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/rubyonrails-core?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to