Skip to content

Instantly share code, notes, and snippets.

Bill Knechtel wknechtel

Block or report user

Report or block wknechtel

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
wknechtel / world.rb
Created Jun 8, 2012
Ruby World Class with a country array useful for automagically building a country select with form builder.
View world.rb
# Useful for building a rails FormBuilder country select...
# For Example:
# `<%= select my_billing_address_object, billing_country, World::COUNTRIES, {:include_blank => true}, {:class => 'my_class_name'} %>`
class World
[ "ALBANIA", "AL" ],
You can’t perform that action at this time.