HomePage | RecentChanges | Preferences

Difference (from prior author revision) (major diff, minor diff)

Changed: 1,11c1

ActiveSupport Concern

Allows sharing code among modules, but the code needs to be generic.

For example, don't put `helper_method` in the concern if it's meant to be shared between controllers and models. `helper_method` only works in controllers.

HomePage | RecentChanges | Preferences
This page is read-only | View other revisions
Last edited December 22, 2019 5:41 am by (diff)