option for not validate #8

merged 18 commits into from Feb 2, 2013


None yet
2 participants

ehaselwanter commented Sep 9, 2010

added a config option not to add the validate_uniqness validation. i need this fir e.g. translated fields. and i had issues loading vhost before the globalize2 extension (was not able to use the derived classes of page then ...)

thanks for the contribution. I'm going to pull this, but I'm thinking that we should put these special cases in the config file. I pulled out a lot of "if this model" kind of code from the original.


ehaselwanter replied Sep 1, 2010

yes, sure. all needed customizations should be in the yaml file.

Or perhaps there's another way. Maybe we could check for an index on name and conditionally alter that so that we don't need to do configuration.


ehaselwanter replied Sep 1, 2010

if it would be on a naming scheme it would work with convention over configuration. but there are special cases like the snippet which is not named with the rails naming scheme but a custom name. I don't know if this is necessary

@saturnflyer saturnflyer merged commit d9d93f0 into saturnflyer:master Feb 2, 2013

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment