Ruby on Rails | Screencasts | Download | Documentation | Weblog | Community | Source

Ticket #964 (closed defect: fixed)

Opened 4 years ago

Last modified 4 years ago

[PATCH] paginator for scaffold generator

Reported by: mortonda@dgrmm.net Assigned to: David
Priority: normal Milestone: 1.0
Component: Railties Version: 0.11.0
Severity: normal Keywords: scaffold paginator railties generator
Cc:

Description

The list method for scaffolding should include a paginator, in case it is applied to large datasets (and to deomonstrate how it works). This is the modifications to the scaffold generator.

Attachments

scaffold_paginator.diff (1.1 kB) - added by mortonda@dgrmm.net on 03/27/05 22:50:47.
apply to: railties/lib/rails_generator/generators/components/scaffold/templates/

Change History

03/27/05 22:50:47 changed by mortonda@dgrmm.net

  • attachment scaffold_paginator.diff added.

apply to: railties/lib/rails_generator/generators/components/scaffold/templates/

03/27/05 23:06:23 changed by bitsweat

Cool. The model :<%= singular_name %> shouldn't be necessary.

04/02/05 09:11:20 changed by david

  • status changed from new to closed.
  • resolution set to fixed.