SelfSolved

Record, recall, share

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

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

#118: postgis ST_Intersects fails with invalid multipolygons

Solved!
on July 14, 2011, 06:47 PM UTC   —   from   148c663fd665c53518538e093ce3c2ab_small kueda    ( 1,120 views )
But it fails silently, often only intersecting with one of the constituent polygons if the polgyon as a whole is invalid.
Tags: postgresql, gis, PostGIS
1 solution | 0 references     Add Solution | Add Reference    

#117: expire cached fragments from the console

Solved!
on July 02, 2011, 09:09 PM UTC   —   from   148c663fd665c53518538e093ce3c2ab_small kueda    ( 943 views )
I'm always forgetting how to do this
Tags: caching, Rails
1 solution | 0 references     Add Solution | Add Reference    

#105: swtiching to homebrew screwed up the textmate svn bundle

Solved!
on November 18, 2010, 08:09 PM UTC   —   from   148c663fd665c53518538e093ce3c2ab_small kueda    ( 942 views )
At least under OS X Leopard. Said svn was out of date
Tags: textmate, osx, Subversion
1 solution | 0 references     Add Solution | Add Reference    

#101: detecting whether association loaded in ActiveRecord

Solved!
on August 18, 2010, 11:42 PM UTC   —   from   148c663fd665c53518538e093ce3c2ab_small kueda    ( 1,120 views )
Sometimes you want to check if something's loaded before you hit the db.
Tags: activerecord, Rails
1 solution | 0 references     Add Solution | Add Reference    

#96: rails tests not getting rolled back

Solved!
on May 19, 2010, 11:25 PM UTC   —   from   148c663fd665c53518538e093ce3c2ab_small kueda    ( 819 views )
There are a number of reasons this might happen: you have a test, it runs fine individually, but when you run rake test or rake test:units, it fails. This might be because one test is writing to the db and those changes aren't getting rolled back.
Tags: testings, tests, Rails
1 solution | 0 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