blackflash wrote:
> How to build JSON formatted data structures like XML's are done with
> rxml templates?
> 
> I can't use to_json method because I need other formatting than
> object's one... probably I should play with strings within html.erb
> templates if there isn't any better solution or JSON builder?

I found this link which may help you.

http://blog.tagteaminteractive.com/2008/01/28/sexy-rest-in-rails/
-- 
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 [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-talk?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to