Pete

Boulder, CO

stackoverflow.com/editing-help

Age: 32

Languages: C/C++ Python Ruby Fortran
Frameworks & APIs: Rails
Feb
13
comment Dynamically add active class to bootstrap li in Rails
Being overly pedantic here, but methods ending in question mark should probably return boolean values, not a CSS class string.
Jan
30
revised How do I use bundle exec rake on RubyMine?
More descriptive answer.
Jan
6
comment can I customize the background of a polygon in OpenLayers?
The only way I could get it working with Mapserver was via converting to a WMS layer and update the Mapfile to use symbology. See the hatch example to draw diagonal lines inside the polygon.
Dec
8
awarded Autobiographer
Dec
8
awarded Supporter
Nov
25
awarded Yearling
Nov
25
awarded Yearling
Nov
23
awarded Nice Answer
Nov
13
awarded Revival
Nov
12
answered Rails - PostGIS + postgis_adapter Geometry Problem
Nov
5
comment jQuery plugins to Enter multiple Email in single input
Strange: the example image you use is also in this March 2013 blog post on how to use jQuery to enter e-mail in input text boxes. Does the solution on said blog post fit your needs?
Nov
4
comment how to disable select option in rails?
Note: If you disable a <SELECT> tag in a form, you may need to send the value with a hidden_field tag so your controller will receive the current value.
Oct
28
answered Rails reusing form view on edit, but setting some fields readonly
Sep
28
revised When should a class be Comparable and/or Comparator?
Hopefully this edit makes the question acceptable to the Stack Overflow QA overlords.
Sep
28
comment When should a class be Comparable and/or Comparator?
Other questions on StackOverflow refer to this as the definitive "What's the difference between comparator and comparable" question. Why is it marked as "not constructive"? As a Java Newbie, this was a very useful question!
Sep
24
awarded Autobiographer
Sep
24
awarded Autobiographer
Sep
24
awarded Autobiographer
Sep
24
awarded Autobiographer
Sep
24
awarded Autobiographer
1 2 3 4 5