public-activity / public_activity

Easy activity tracking for models - similar to Github's Public Activity
MIT License
2.97k stars 336 forks source link

Was :fallback accidentally left out? #377

Open goldstar611 opened 2 years ago

goldstar611 commented 2 years ago

Pull request https://github.com/public-activity/public_activity/pull/148 introduced :fallback but I can't find any branch or gem release with that parameter now. It used to be part of the "2.0" / "unstable" branch but now that 2.0 is released it's definitely gone.

The way the if..else statement in renderable.rb is such that if :display is defined it is always used.

If I sent a PR to re-introduce :fallback would that be acceptable or was :fallback removed intentionally?

Thanks!

ur5us commented 1 year ago

As far as I can tell, this feature never made it into a release. However, the code is still there in the master branch.

$ git br --contains a2e9aa5a7f131ae69c805acb9c445d3685de141b
  master