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#93: inspecting the state of a named_scope
Solved!on May 10, 2010, 09:22 PM UTC — from kueda
( 690 views )
I know named scopes are getting all changed around in Rails 3, but I figured this out a while ago, and then forgot it, came here to find my answer, and realized I never wrote it down.
The problem is that when you're building complex chained scopes its often...
#91: piping stderr and stdout
Solved!on April 21, 2010, 05:58 PM UTC — from kueda
( 756 views )
Well, I think I've already looked this up and forgotten it twice.
Tags:
bash
#89: view readline history in irb
Solved!on April 01, 2010, 06:53 PM UTC — from kueda
( 2,834 views )
I wanted to view a log of all the lines I'd written in an IRB session, but didn't see a simple equivalent of bash's "history" command.
#81: associated STI subclasses not loading in dev
Solved!on January 08, 2010, 06:47 PM UTC — from kueda
( 964 views )
Let's say you have
class Chili < ActiveRecord::Base
has_many :beans
end
class Bean < ActiveRecord::Base; end
class Pinto < Bean; end
Now, let's say you have one chili record that's associated with one pinto (it's a sad chili). If you do this...
#64: facebook feed update complains about img objects
Solved!on August 27, 2009, 06:20 PM UTC — from kueda
( 1,497 views )
When posting an update to Facebook through their API, were occasionally getting
Application response error
img objects must have valid 'src' and 'href' attributes. You can see this because you are one of the developers of the app.