NancyFx/Nancy — pull request #596 by prabirshrestha (2012-04-21 19:34:14+00:00)
Title: convert "on" to true for bool during model binding.

FallbackConverter converts "on" to true if typeconverter is a BooleanConverter and destintionIsType is bool

By default browser sets the value of checkbox to on if it is checked.

So this following code will always set the RememberMe to false when using `var model = this.Bind()`.

```html

```

```csharp
public class LoginModel
{
public bool RememberMe { get; set;}
}
```

Currently to solve this we need to explicitly set the value of checkbox to "true".

```html

```

This patch will make the boolean converter aware of "on" for boolean values so we don't need to explicitly set the value to true.