> ArgumentError in CategoriesController#index
> Unknown key(s): per_page
This was a genuine bug. I just pushed a fix in commit f8fe9e3
Note that the correct code is:
> def index
> hobo_index :per_page => 10 do |wants|
> wants.xml { render :xml => @categories.to_xml }
> wants.html { }
> end
> end
That is, @categories is already populated by hobo_index
Tom
--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---