I am trying to use scope in active admin for one of my model and I get this error undefined method reorder' for array.
I have successfully used scope in another model with active admin, I am not able to debug why this issue is coming.
Here is the code from active admin :-
ActiveAdmin.register Startup do
scope :reached do |startups|
startups.all
end
end
Any ideas what could be the issue ?
scopemethod for active_admin. sure, you know what you are doing? - phoet