Skip to content

Using Active Scaffold On A Data Structure – No Database Table

clyfe edited this page Oct 30, 2010 · 5 revisions

This is a work in progress on how to use Active Scaffold on data that is not in the database. :paging, :search and :update actions are currently supported.

Thanks to Jonathan Viney and his plugin work on [[BaseWithoutTable][http://agilewebdevelopment.com/plugins/activerecord_base_without_table]] plugin. This example does not use his plugin but does use his code as a foundation.

In this example, the data structure is a simple hash – like that used by Active Scaffold Localize.

See gist here

Clone this wiki locally