Thanks, Matt! On Wed, Sep 21, 2011 at 9:46 AM, Matt Jones <[email protected]> wrote:
> > On Sep 5, 2011, at 8:36 AM, Donald R. Ziesig wrote: > > > Matt! > > > > I never would have found that (well, I might have, but it would have > taken years)! It works just like it is supposed to now. > > > > Many^i*3.14159 ;-) Thanks!!!!!!! > > > > Don Z. > > > > On 9/4/2011 10:19 PM, Matt Jones wrote: > >> On Sep 4, 2011, at 10:52 AM, Donald R. Ziesig wrote: > >> > >> > >>> NoMethodError (undefined method `apply_scopes' for > Hobo::Controller::User:Module): > >>> app/controllers/admin/users_controller.rb:13:in `index' > >>> > >> After pounding my head on this for a while, I finally realized the > problem - in the controller, the bare 'User' constant isn't referring to the > right thing, it's instead picking up Hobo::Controller::User, which isn't > even a *class*! > >> > >> Qualifying the constant explicitly should fix this - use ::User instead > of just User to refer to the class. > >> > >> Obviously not the most satisfying resolution - the module in the library > will probably need renamed to avoid this going forward, but :: will make it > work for now (and won't hurt anything). > > I've just committed a fix to this - the module version is now > Hobo::Controller::UserBase. > > --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. > > -- Owen Dall, Chief Systems Architect Barquin International www.barquin.com Cell: 410-991-0811 -- 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.
