Site Archives
Lib file state_select.rb
If you are not interested in installing a plugin just for one method(state_select) then You can put state_select.rb file in you rails lib directory. And include state_select.rb file in your controller where ever you want to use state_select method.
The url for state_select.rb is http://opensvn.csie.org/state_select/trunk/lib/state_select.rb
Feedback please….
Plugin: state_select, generate drop down selection box for states
I have wrote my first plugin(state_select). This plugin allows to create drop down list for states, same as country_select method in rails. I know this is not a big deal…
UPDATE: Curently it can generate state list for India, US, Canada, Australia, Spain and Uganda(default is US).
Usage:
state_select(object, method, country=’US’, options = {}, html_options […]
12 Balls Problem
You have 12 balls (of any kind), one ball either lighter or heavier than the other 11. A scale is provided to you but only three weighs are allowed. How can you possibly figure out which is the odd ball?
Find It Quickly
Find what you're looking for quickly by using our keyword search. Can't find it? Try our links below.


