On Monday 03 August 2009, Nicholas Wieland wrote:
> Hi *, I'm writing an API for my application, but I can't figure out
> how to behave with the json frontend, where I need to do something
> like @object.image.url.
> Should I write a .json view or there's some special method for this
> kind of problems ? 

In case you decide that JSON views are what you want, have a look at a 
(trivial) template handler I wrote to help with just that

http://github.com/mschuerig/ruby_template_handler

Michael

-- 
Michael Schuerig
mailto:mich...@schuerig.de
http://www.schuerig.de/michael/


--~--~---------~--~----~------------~-------~--~----~
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