On Jan 22, 2010, at 5:41 PM, VegHead wrote:
On Jan 22, 4:16 pm, Matt Jones <[email protected]> wrote:
Nothing like a little live patching... can you try adding this line:
return unless table_exists?
at the very beginning of the column method (line 211 of hobofields/
lib/
hobo_fields/model_extensions.rb)?
The trace has the automatic scope code trying to see if
inherited_without_inheritable_attributes is a column, which hits the
DB and dies. This code essentially says, "if the DB isn't there,
nevermind about that scope...".
Woo woo!
That did the trick. Worked perfectly.
Thanks! That is very cool. This is why I love open source. :)
Reminds me of the old stories about IBM tech support back in the Iron
Age: staff engineers would apparently give field support lists of
*physical* patches (ie, solder a wire from A to B on card X) to the
mainframe circuits, over the phone...
:)
--Matt Jones
--
You received this message because you are subscribed to the Google Groups "Hobo
Users" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to
[email protected].
For more options, visit this group at
http://groups.google.com/group/hobousers?hl=en.