On Mar 17, 2011, at 4:18 PM, Tuishimi wrote:

> Looked like that was a typo?  So I changed the code to be
> #{@klass.table_name} but now I am getting this error:
> 
> undefined method `table_name' for nil:NilClass... it doesn't like
> @klass...?

Yeah, that's a leftover from the method in automatic_scopes.rb that I used to 
make that scope - I think the equivalent in a scope would be 'self', but I'm 
not sure.

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

Reply via email to