Commit
eea6e7c4f0b1ad370e42c9762b65edf92bc1f891
Exists in
master
and in
23 other branches
activate_plugin, api_fixies, api_tasks, article_blog_visualization_format, article_layout_refactoring, article_layout_temp, blog_page_bug, clone_article, communities_ratings, design_template, event_layout, fix_forum, fix_optional_fields, fix_suggest_article, folder_improvments, manage_organization, merge_deactive_and_ban, news_page, script_to_update, stable, template_mirror_block, tests, tests_fixies
Added comments on action_tracker
| @@ -0,0 +1,7 @@ |
| @@ -0,0 +1,7 @@ |
| |
1
| +# monkey patch to add comments on action_tracker |
| |
2
| + |
| |
3
| +ActionTracker::Record.module_eval do |
| |
4
| + |
| |
5
| + has_many :comments, :class_name => 'Comment', :foreign_key => 'source_id', :dependent => :destroy, :order => 'created_at asc' |
| |
6
| + |
| |
7
| +end |