Skip to content
This repository has been archived by the owner on Nov 9, 2017. It is now read-only.

before_validation_on_create #1

Open
adamsalter opened this issue Nov 9, 2009 · 0 comments
Open

before_validation_on_create #1

adamsalter opened this issue Nov 9, 2009 · 0 comments

Comments

@adamsalter
Copy link

lib/active_record/acts/list.rb:67

http://github.com/rails/acts_as_list/blob/master/lib/active_record/acts/list.rb#L67

should be 'before_validation_on_create' since 'before_create' comes after validations, which means you can't have validations on the value of 'position'.

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

No branches or pull requests

1 participant