neerajsingh0101 / admin_data

A non instrusive gem which helps you browse, search and manage your data using browser
http://admin-data-demo.heroku.com/admin_data
MIT License
376 stars 56 forks source link

Boolean with a false value displayed as null #73

Open tomsquest opened 13 years ago

tomsquest commented 13 years ago

A boolean column whose value is false will be shown as null (no value) in the select item of the Edit page. When the value is true, the select displayed the right value ('True').

True/False are correctly displayed in the show page. The problem is just in the Edit page, with a false value.

neerajsingh0101 commented 13 years ago

I will take a look at this issue.

frahugo commented 13 years ago

Just fixed this one in my fork (code from tag 1.1.14 because my rails app is under 3.0.x). Will send a pull request.

neerajsingh0101 commented 13 years ago

@frahugo thanks. that will be awesome.