Before doing anything else, install those:
- VirtualBox: https://www.virtualbox.org/wiki/Downloads
- Vagrant: https://www.vagrantup.com/downloads.html
- git: http://git-scm.com/download/win
if (!Object.prototype.typeof) { | |
Object.defineProperty(Object.prototype, "typeof", { | |
enumerable: false | |
, configurable: true | |
, writable: false | |
, value: function (Type) { | |
toString = Object.prototype.toString; | |
return toString.call(this) == toString.call(new Type()); | |
} | |
}); |
Before doing anything else, install those:
<!-- update_city_menu.html.erb --> | |
<% if @state.cities.present? %> | |
<select id="neighborhood_field" name="search[city_field]"> | |
<%= options_from_collection_for_select(@state.cities, :id, :name) %> | |
</select> | |
<% end %> |