When given:
validations do
version 1 do
# empty
view :index do
# empty
end
end
end
I expect the second # empty to error, but not the first.
validations do
version 1 do
# empty
end
end
I expect the only (and first) # empty to error.
This might be impossible due to how these blocks can be freely nested. For example, why would view :index error here, but version 1 (with implicit view nil won't (and shouldn't).
If this can't be solved, that's fine.
When given:
I expect the second
# emptyto error, but not the first.I expect the only (and first)
# emptyto error.This might be impossible due to how these blocks can be freely nested. For example, why would
view :indexerror here, butversion 1(with implicitview nilwon't (and shouldn't).If this can't be solved, that's fine.