Added ‘Any’ to dropdowns for RoR Stats Application for Data Mining function.

This was a little trickier than it initially appeared.
The application actually has a lot of data with 'All' as actual values in the data.
So to really show all the values the code needed to present an 'Any' option and then be able to process that.
Did this successfully so there are now the various values, plus 'All' plus 'Any' for:
Color Depth, Resolution, Browser-Version, OS, Month and Year.
It was helpful that the collection_for_select tags only generate the inner option tags so it's easy to add a single manual option to database generated option tags.
Year didn't have a drop-down at all for 'Any' so this was a big help for that field.

Leave a Reply

Fill in your details below or click an icon to log in: Logo

You are commenting using your account. Log Out /  Change )

Google photo

You are commenting using your Google account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s