Skip to content
neerajdotname edited this page Sep 21, 2010 · 13 revisions

Non Intrusive

  • All the features provided by admin_data are totally non intrusive.
  • No change is required anywhere in your application.
  • No named_scope is created and hence no lingering named_scope in your application.
  • Nothing is stored in session or in cookies.
  • You don't need to store any file in public folder or anywhere else.
  • No table is created.
  • No migration to run.

Browse and Search

  • Browse all records with pagination.
  • Quick search across all records in a table. Quick searche goes through all columns that are of type either string or text.
  • Advance search for each column of each of the table. Different options appear for different data types.
  • For both quick search and advance search, result can be sorted in ascending or in descending order of any column.
  • Browse migration records from schema_migrations table even though there is no corresponding model for this table.

Association Information

  • For each individual record a link to all associated records is shown.
  • Next to has_many association a count of number of associated records is shown.
  • All the associated records are links so you can navigate from record to record.

Delete vs Destroy

  • admin_data provides two ways of removing a record.
  • Deleting a record means no callback will be invoked.
  • Destroying a record means callbacks for that model will be invoked.

Miscellaneous features

  • Admin_data supports namespaced models like Vehicle::Car .
  • Plugin does not assume that all the tables have primary key as id. It respects the primary_key set in the model.
  • RSS feed for all the models.