onomojo/i18n_country_select — pull request #2 by dmilisic (2012-05-18 12:09:00+00:00)
Title: check if method exists before calling

The code breaks when used with fields_for without association, for example:

````
<%= fields_for :person do |permission_fields| %>
Admin?: <%= permission_fields.check_box :admin %>
<% end %>
````

This is the fix for this issue.