[Rails] radio_button method does not recognize int values?

Ezra Nugroho
Wed, 04 Jan 2006 07:59:06 -0000

So the api listing says that radio_button(object, method, tag_value,
options = {}) gives a radio button tag, and if object.method ==
tag_value, then the button will be checked.

I verified the method behaves correctly for attributes of type string.
However, if the attribute is of type int, it doesn''t make the button
checked.

Does anyone have some information before I file a bug?
Some tricks to make it work?

Ezra Nugroho