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!

Treating ActiveRecord's interface as private using FigLeaf

The fig-leaf gem from Avdi Grimm’s Objects causes ActiveRecord’s methods to be treated as a private interface. In this post, I apply this approach to a production Rails app and explain its benefits, as well as some of the challenges encountered.

Post a comment

You can use basic HTML markup (e.g. <a>) or Markdown.

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