SelfSolved

Record, recall, share

  • Log in
  • Sign up
  • About
  • What's New
  • Home
  • All Problems
  • SelfSolvers
148c663fd665c53518538e093ce3c2ab_thumb
2560 views

Registered: 2009-04-15

Update: about 9 hours ago

Problems: 22

Solutions: 21

References: 9

Problem views: 2560

Unsolved problem views: 146

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

#55: accessing locals hash within an ActionView partial

Solved!
on June 19, 2009, 05:01 PM UTC   —   from   148c663fd665c53518538e093ce3c2ab_small kueda    ( 118 views )
How do you access the hash of locals you pass into a partial from within that partial?
Tags: ruby, ActionView, templates, Rails
1 solution | 0 references     Add Solution | Add Reference    

#53: slicing rexml collections

Solved!
on June 11, 2009, 10:38 PM UTC   —   from   148c663fd665c53518538e093ce3c2ab_small kueda    ( 82 views )
REXML is dumb and doesn't implement normal Ruby enumerable slicing with ranges.
Tags: ruby, xml, rexml
1 solution | 1 reference     Add Solution | Add Reference    

#47: finding a time zone give lat/lon coordinates

Solved!
on May 22, 2009, 08:59 PM UTC   —   from   148c663fd665c53518538e093ce3c2ab_small kueda    ( 89 views )
A little while ago we started using time zones in iNat, which was more troublesome than anticipated. One problem I ran into was automatically setting the time zone from pre-existing observations given their lat/lon. I ended up http://www.earthtools.org/webservices...
Tags: timezones, geo, Rails
1 solution | 0 references     Add Solution | Add Reference    

#45: why is Rails logging to ".log"?!

Solved!
on May 15, 2009, 11:58 PM UTC   —   from   148c663fd665c53518538e093ce3c2ab_small kueda    ( 82 views )
I started using Workling, but quickly realized it was logging to "log/.log" for some inane reason.
Tags: logging, config, Rails
1 solution | 0 references     Add Solution | Add Reference    

#44: multivalue facet fields in acts_as_solr

Solved!
on May 11, 2009, 06:57 PM UTC   —   from   148c663fd665c53518538e093ce3c2ab_small kueda    ( 139 views )
Solr supports faceted search, which is good, but acts_as_solr has pretty terribly documentation, which is bad.
Tags: solr, search, facets, browsing, ruby, Rails
1 solution | 2 references     Add Solution | Add Reference    
« Previous 1 2 3 4 5 Next »
  • About Us
  • Contact
  • Terms of Service
  • Privacy
  • Feedback
  • © 2009-2010 All rights reserved
  • Hosted on Linode