Skip to content
This repository was archived by the owner on Mar 11, 2018. It is now read-only.

Custom fields #1

Open
wants to merge 3 commits into
base: master
Choose a base branch
from
Open

Custom fields #1

wants to merge 3 commits into from

Conversation

tomtaylor
Copy link

I've added the ability to log custom fields from the event payload. It should be pretty straightforward, but let me know if you have any concerns.

@tomtaylor
Copy link
Author

Any thoughts on this?

@chrislloyd
Copy link
Member

@tomtaylor sorry, I've been busy on other projects. I'm going to get around to doing a little maintenance on this soon. However, I thought it was a bit kludgy that you had to add the keys to the payload and then tell Scrolls::Rails to use those keys. Would it be possible to refactor this patch so Scrolls::Rails doesn't need to be configured?

@tomtaylor
Copy link
Author

No problem, thanks for your reply.

My rationale was that other plugins or your own code can interfere with the payload too, for other purposes, so it seemed to make sense to separate those concerns, and ensure that only the fields requested are logged in Scrolls::Rails.

On 7 Oct 2013, at 19:54, Chris Lloyd [email protected] wrote:

@tomtaylor sorry, I've been busy on other projects. I'm going to get around to doing a little maintenance on this soon. However, I thought it was a bit kludgy that you had to add the keys to the payload and then tell Scrolls::Rails to use those keys. Would it be possible to refactor this patch so Scrolls::Rails doesn't need to be configured?


Reply to this email directly or view it on GitHub.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants