How to fix missing Rails select_tag include_blank attribute

If you have ever used the select_tag in Rails, you migth have encountered a situation where you needed an blank option as the first option in your select list, only to discover that it was not supported. How ever, usign the options_for_select you can fix this even when what you really wanted to use, was the options_from_collection_for_select… you have to love those method names :) Continue reading

Running your own taggable in Rails isn’t that hard

I’m working on a Rails app where I want to offer the ability to use tags (labels) for categorization, but they have to be polymorphic since I don’t want to have more than one table with tags. Continue reading

Follow

Get every new post delivered to your Inbox.