Skip to content

Default value of false was not working#6

Open
theprogrammerin wants to merge 1 commit intostantoncbradley:masterfrom
theprogrammerin:master
Open

Default value of false was not working#6
theprogrammerin wants to merge 1 commit intostantoncbradley:masterfrom
theprogrammerin:master

Conversation

@theprogrammerin
Copy link

Default value on a boolean param with false value was not working because of use of .present? at couple of places.
Also added unit test case for this case.

@stantoncbradley
Copy link
Owner

Sorry for the delay. I will look into this. This is a fork from the original gem at https://github.com/nicolasblanco/rails_param. I suggest you use that version. Thanks.

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

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants