Registered: 2009-04-15
Update: over 5 years ago
Problems: 25
Solutions: 24
References: 9
Problem views: 28944
Unsolved problem views: 1310
Ken-ichi
kueda
User
Website: http://inaturalist.org
Location: Oakland, CA
I am the hand of doom. All code withers at my buggy touch.
Recent problems
Atom Feed#40: macports thinks python26 needs xorg
Solved!on May 01, 2009, 07:19 AM UTC — from kueda
( 2,103 views )
Clearly that is just plain ridiculous.
#37: make url_for() generate a URL for the current page including GET params
Solved!on April 17, 2009, 12:44 AM UTC — from kueda
( 897 views )
If you just use url_for() in a view, it will generate the url corresponding to the controller/action/id that generated, but it will leave out the precious GET params.
#35: validating date_select in rails
Solved!on April 15, 2009, 11:39 PM UTC — from kueda
( 1,337 views )
If you use the date_select helper in Rails, setting all fields except for the year will result in MultiparameterAssignmentErrors. You can catch the exception, but it's kind of hard to catch it in a place where you can add errors to a model instance.
#34: Indexing the results of an nested set ancestry query
on April 15, 2009, 08:59 PM UTC — from kueda
( 602 views )
I would like to use Sphinx and ThinkingSphinx to index the results of a nested set ancestry query, but I'm not entire sure how. The kind of query I need to do would be something like
SELECT id FROM taxa WHERE taxa.lft <= $target_taxon_lft AND taxa.rgt...
#33: Addicted to Buffy the Vampire Slayer
on April 15, 2009, 06:46 PM UTC — from kueda
( 731 views )
I started watching and now it rules my life.
Tags:
tmi