Please sign in to comment.
Runtime conditions for associations should use procs
The association guide previously recommended using a trick with single quote delaying of string interpolation in order to handle setting association conditions that would be evaluated at runtime. Using a proc is the new way as this no longer works.
- Loading branch information...
Showing with 2 additions and 4 deletions.