Registered: 2009-04-15
Update: 2 months ago
Problems: 17
Solutions: 16
References: 8
Problem views: 711
Unsolved problem views: 40
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#81: associated STI subclasses not loading in dev
Solved!on January 08, 2010, 06:47 PM UTC — from
kueda
( 26 views )
kueda
( 26 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
( 76 views )
kueda
( 76 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.
#63: upgrading to Rails 2.3 yields ArgumentError for dynamic finders
Solved!on August 21, 2009, 09:37 PM UTC — from
kueda
( 72 views )
kueda
( 72 views )
Doing something like Post.find_by_title('something') yields something like:
ArgumentError in WelcomeController#index
wrong number of arguments (2 for 1)
Application Trace | Framework Trace | Full Trace
/opt/local/lib/ruby/gems/1.8/gems/activerecord-2.3...
Tags:
rails upgrading 2.3
#58: reverting a single svn revision
Solved!on July 02, 2009, 05:30 PM UTC — from
kueda
( 49 views )
kueda
( 49 views )
How have I gone this long without know how to do this...
#56: Passenger can't find a shared module in Rails
Solved!on June 23, 2009, 08:30 PM UTC — from
kueda
( 49 views )
kueda
( 49 views )
I recently put some shared code from a Rails app into a module in app/models/shared/sweepers_module.rb. The module itself was called Shared::Sweepers. I included it in some sweeper classes, and everything worked fine in Mongrel. In Passenger, though, I got...
