Nice, Matt.

On Jan 22, 5:41 pm, VegHead <[email protected]> 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. :)
>
> Sean

-- 
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.

Reply via email to