knaveofdiamonds-knave_extras 0.0.2 → 0.0.3

Sign up to get free protection for your applications and to get access to all the features.
data/VERSION CHANGED
@@ -1 +1 @@
1
- 0.0.2
1
+ 0.0.3
data/knave_extras.gemspec CHANGED
@@ -2,7 +2,7 @@
2
2
 
3
3
  Gem::Specification.new do |s|
4
4
  s.name = %q{knave_extras}
5
- s.version = "0.0.2"
5
+ s.version = "0.0.3"
6
6
 
7
7
  s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
8
8
  s.authors = ["Roland Swingler"]
@@ -1,6 +1,6 @@
1
1
  class <%= controller_class_name %>Controller < ApplicationController
2
2
  def index
3
- @<%= table_name %> = <%= class_name %>.all
3
+ @<%= table_name %> = <%= class_name %>.paginate(:page => params[:page], :per_page => 50)
4
4
 
5
5
  respond_to do |format|
6
6
  format.html # index.html.erb
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: knaveofdiamonds-knave_extras
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.2
4
+ version: 0.0.3
5
5
  platform: ruby
6
6
  authors:
7
7
  - Roland Swingler