tcopeland / filter_decrufter

Decruft those Rails filters

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

plans for extending it for rails 4+

r3bo0t opened this issue · comments

First of all nice small but quite a utility specially for large/long running projects. Technically its not an issue, just had one question.

Are you planning to extend this utility to support rails ~ 4.x as well?

Thanks @Conflikt ! And sorry, I just updated docs, I tested it with 4.0 and 4.2 and it worked fine in both. Haven't tried it with 4.1 yet tho.

Actually after briefly looking into the codebase, I noticed your Checker class checking for [before|after|around]_filter methods but with new norms, before_action, after_action & around_action I doubt it will be working the same way, UNLESS I missed something big time.

Whoa, you're undoubtedly correct... I'll have add support for that, thanks!

v0.0.4 released with support for before/after/around_action, thanks!