This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#This works but is maybe not so great. | |
class FeedItemGenerator | |
include ActionView::Helpers | |
attr_accessor :feedable | |
attr_accessor :user | |
attr_accessor :event | |
def initialize(feedable, user, event=nil) | |
@feedable = feedable |
NewerOlder