arkhitech / redmine_mentions

Allows users to mention team members in their notes/comments.
MIT License
96 stars 88 forks source link

Updated view and journal_patch to force AR association to array for delete_if method to work. #22

Closed JangoSteve closed 9 years ago

JangoSteve commented 9 years ago

I was running into issues with getting a NoMethodError delete_if for ActiveRecord..., where basically this was calling delete_if on an AR association instead of on an array (which I assume is what was meant).

This allows the plugin to work on the latest Redmine running Rails 4.