diff options
author | Louise Crow <louise.crow@gmail.com> | 2012-09-12 17:54:01 +0100 |
---|---|---|
committer | Louise Crow <louise.crow@gmail.com> | 2012-09-12 17:54:01 +0100 |
commit | 77a22824fb23bc25945adf2b96feb55b004bdb8a (patch) | |
tree | 5962b090ca4a705386876352f4d316dcf2a31131 /app/models/info_request.rb | |
parent | 98fe4eab026e3fe2545bffaa8f14a128ba407d62 (diff) |
Memoize the notes_without_html calculated value for the life of the model instance - no need to keep applying the regex if called multiple times e.g. in a view.
Diffstat (limited to 'app/models/info_request.rb')
0 files changed, 0 insertions, 0 deletions