gregbell/active_admin — Issue #843: Model validations not being updated
Author: cj
Created: 2011-12-12 17:23:34+00:00
State: open

Hi,

So when you first run `rails generate active_admin:resource User` it pulls in your validation from the model (behind the senes) and uses them which is great. But if you update the validation the model it's not updated in active admin. if you run `rails generate active_admin:resource User` again and skip creating the file the validation still doesn't get updated. The only way appears to delete the file originally generated by active admin and run `rails generate active_admin:resource User` again. Now the updated validation works..... this seems like a bug... shouldn't active admin always check for changes in validation in the model?

Many thanks