Displaying 1 result from an estimated 1 matches for "before_create_valid".
2012 Nov 10
6
Suggestion: `before_save on: :create` should either work or raise an exception
...ing `before_save on: :create` and the like could raise an exception
saying either "this isn''t supported" or "this isn''t supported but will be
eventually"
3. The `before_validation on: :create` syntax could be dropped in favor of
`before_save_validation` and `before_create_validation`, so that all a
user''s hook declarations are either successful or get `NoMethodError`
Thoughts?
--
You received this message because you are subscribed to the Google Groups "Ruby on Rails: Core" group.
To view this discussion on the web visit https://groups.google.com/d/...