Displaying 1 result from an estimated 1 matches for "myextendedclass".
Did you mean:
extendedclass
2006 Apr 01
1
STI with_scope on parent - bug or feature?
..., @ext_rows = paginate :my_extended_class, {
:per_page => 13
}
end
# this doesn''t generate WHERE somecol=''val''
In order for scope to work you have to call with_scope on the
specialized class you''ll later call the find/paginate methods on, like this:
MyExtendedClass.with_scope()
Should I consider this a feature or a bug?
jeroen