Rails find unused plugins -


you know it, rails project growing years, many developers comes, many developers go...

now it's turn, newcommer in company , sitting "shiny" rails app source code.

you task remove plugins clutters source , not used anymore.

how find them ?

look @ each plugin's source code (usually lives in /lib of plugin or gem folder).

most of them define handful of methods supposed call in application code. search project directory of these method names see if called anywhere.

for example: have acts_as_ferret plugin, search codebase words "acts_as_ferret".

if have delayed_job, search "delay", "send_later", or "handle_asynchronously".

sure take time, removing dependencies isn't want haphazardly.


Comments

Popular posts from this blog

c# - how to write client side events functions for the combobox items -

exception - Python, pyPdf OCR error: pyPdf.utils.PdfReadError: EOF marker not found -