Looks pretty cool at first glance! I was thinking of abstracting something similar. I'll try this first, though, on my next new project.
On Tue, Mar 19, 2013 at 2:37 PM, gsw <garyswea...@gmail.com> wrote: > Hey, > > We've been using this for a while in production and just made some > security fixes today and added it to Rubygems: > > https://github.com/rubyservices/restful_json > > Just: > > gem 'restful_json' > > and follow the directions in the README (it GitHub link above). It should > work with Rails 3.1+ and 4+ (we use it in latest Rails 3.2.x currently). If > you're unfamiliar with the Rails 4 way of doing things (activemodel > serializers), there will be a slight learning curve, but it is really quick > to create new controllers. > > Let me know what you think, and submit pull req's/issues if you have any. > > Thanks! > > Gary > > -- > You received this message because you are subscribed to the Google Groups > "Ruby on Rails: Talk" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to rubyonrails-talk+unsubscr...@googlegroups.com. > To post to this group, send email to rubyonrails-talk@googlegroups.com. > To view this discussion on the web visit > https://groups.google.com/d/msg/rubyonrails-talk/-/jLnlHre5eR4J. > For more options, visit https://groups.google.com/groups/opt_out. > > > -- You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To unsubscribe from this group and stop receiving emails from it, send an email to rubyonrails-talk+unsubscr...@googlegroups.com. To post to this group, send email to rubyonrails-talk@googlegroups.com. For more options, visit https://groups.google.com/groups/opt_out.