If you have been building Rails applications for a while, you have likely noticed a folder called concerns
. This folder gets created inside the app/controllers
and app/models
directories whenever you generate a new Rails application. I thought it was useless until recently when we had to make use of it at work.
Continue reading %DRY Off Your Rails Code with ActiveSupport::Concerns%
by Kingsley Silas via SitePoint
No comments:
Post a Comment