gsw
2013-Mar-19 18:37 UTC
restful_json - implement declarative, featureful backend JSON services in Rails 3.1+, 4+ quickly
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+unsubscribe-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org To post to this group, send email to rubyonrails-talk-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org 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.
Paul
2013-Mar-20 16:41 UTC
Re: restful_json - implement declarative, featureful backend JSON services in Rails 3.1+, 4+ quickly
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 <garysweaver-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> 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+unsubscribe-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org > To post to this group, send email to rubyonrails-talk-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org > 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+unsubscribe-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org To post to this group, send email to rubyonrails-talk-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org For more options, visit https://groups.google.com/groups/opt_out.