I've read the discussion about the magic "default" ruleset: http://fluentvalidation.codeplex.com/discussions/285831
The rules are not passed to the client though, unless I use the workaround of manually creating a ruleset with "default" as its name.
The tests below are with FV built from source.
``` c#
// Rules in the "Create" set are passed to the client
// Rules not in a set are not passed to the client
[RuleSetForClientSideMessages("Create")]
// Rules in the "Create" set are passed to the client
// Rules in the "default" set not passed to the client
[RuleSetForClientSideMessages("Create")]
// Rules in the "Create" set are passed to the client
// Rules not in a set are not passed to the client
[RuleSetForClientSideMessages("default", "Create")]
// Rules in the "Create" set are passed to the client
// Rules in the "default" set are also passed to the client
[RuleSetForClientSideMessages("default", "Create")]
```
The rules are not passed to the client though, unless I use the workaround of manually creating a ruleset with "default" as its name.
The tests below are with FV built from source.
``` c#
// Rules in the "Create" set are passed to the client
// Rules not in a set are not passed to the client
[RuleSetForClientSideMessages("Create")]
// Rules in the "Create" set are passed to the client
// Rules in the "default" set not passed to the client
[RuleSetForClientSideMessages("Create")]
// Rules in the "Create" set are passed to the client
// Rules not in a set are not passed to the client
[RuleSetForClientSideMessages("default", "Create")]
// Rules in the "Create" set are passed to the client
// Rules in the "default" set are also passed to the client
[RuleSetForClientSideMessages("default", "Create")]
```