RubyFlow The Ruby and Rails community linklog

×

The Ruby and Rails community linklog

Made a library? Written a blog post? Found a useful tutorial? Share it with the Ruby community here or just enjoy what everyone else has found!

Submit a post

You can use basic HTML markup (e.g. <a>) or Markdown.
Note that your post may be edited to suit the format of the site.

As you are not logged in, you will be
directed via GitHub to signup or sign in

Post Preview

Note: Only the first pargraph is shown on the front page and overly long paragraphs may be broken up.

Rails API Pattern for Complex Collections

One of the patterns I’ve been using when building restful APIs is creating a model for collections. This model then uses a factory method for instantiating from a set of params. I’ve found this cleans up controllers significantly and creates a nice place for tests to hang off of. I’ve written a blog post about this building complex collections from params pattern.

Mastering Modern Payments: Using Stripe with Rails

I just launched Mastering Modern Payments, a guide to integrating Stripe with your Rails application. It’s packed with sample code and best practices that will make sure your integration works now and in the future. I’ve collected for you the best resources from around the web and added my own experiences and stories to help you make your Stripe integration as robust as it can be.

Loading older posts