Skip to content

Latest commit

 

History

History
13 lines (10 loc) · 348 Bytes

what_goes_in_lib.md

File metadata and controls

13 lines (10 loc) · 348 Bytes

What goes in /lib?

lib/ is intended to be for non-app specific library code that just happens to live in the app for now (usually pending extraction into open source or whatever). - DHH

So here's an example of things that belong in /lib:

  • API wrappers
  • Utility functions
  • Core extensions
  • Tasks
  • Assets
  • Generators
  • Custom middleware