Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Improper defaults for updated and destroy callbacks #4

Open
adriancuadros opened this issue Sep 3, 2012 · 0 comments
Open

Improper defaults for updated and destroy callbacks #4

adriancuadros opened this issue Sep 3, 2012 · 0 comments

Comments

@adriancuadros
Copy link
Member

When configuring a callback with the DSL:

watch Model do
report "Action"
upon :update
end

The default timestamp is the created at of the record which is confusing,

Options:

  • There should be no defaults for those events and the timestamp should be a mandatory part of the DSL
  • The default should be Time.now instead of Model#created_at
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant