public
Fork of mislav/will_paginate
Description: Most awesome pagination solution for Rails
Homepage: http://github.com/mislav/will_paginate/wikis
Clone URL: git://github.com/technoweenie/will_paginate.git
Search Repo:
add CHANGELOG covering the 2.2.0 release
mislav (author)
Sun Apr 06 20:51:03 -0700 2008
commit  4ca58bb6863870d17413c21de047da0febd12af2
tree    52355a9500d1667f06bf7b5dcbdb315e1a10e49f
parent  7525ee82c81ac6d8e7a6f11a1c94fae4c238c3af
...
 
1
2
3
...
1
2
3
4
0
@@ -1,3 +1,4 @@
0
+CHANGELOG
0
 LICENSE
0
 README.rdoc
0
 Rakefile
...
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
...
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
0
@@ -0,0 +1,33 @@
0
+== 2.2.0, released 2008-04-07
0
+
0
+=== API changes
0
+* Rename WillPaginate::Collection#page_count to "total_pages" for consistency.
0
+ If you implemented this interface, change your implementation accordingly.
0
+* Remove old, deprecated style of calling Array#paginate as "paginate(page,
0
+ per_page)". If you want to specify :page, :per_page or :total_entries, use a
0
+ parameter hash.
0
+* Rename LinkRenderer#url_options to "url_for" and drastically optimize it
0
+
0
+=== View changes
0
+* Added "prev_page" and "next_page" CSS classes on previous/next page buttons
0
+* Add examples of pagination links styling in "examples/index.html"
0
+* Change gap in pagination links from "..." to
0
+ "<span class="gap">&hellip;</span>".
0
+* Add "paginated_section", a block helper that renders pagination both above and
0
+ below content in the block
0
+* Add rel="prev|next|start" to page links
0
+
0
+=== Other
0
+
0
+* Add ability to opt-in for Rails 2.1 feature "named_scope" by calling
0
+ WillPaginate.enable_named_scope (tested in Rails 1.2.6 and 2.0.2)
0
+* Support complex page parameters like "developers[page]"
0
+* Move Array#paginate definition to will_paginate/array.rb. You can now easily
0
+ use pagination on arrays outside of Rails:
0
+
0
+ gem 'will_paginate'
0
+ require 'will_paginate/array'
0
+
0
+* Add "paginated_each" method for iterating through every record by loading only
0
+ one page of records at the time
0
+* Rails 2: Rescue from WillPaginate::InvalidPage error with 404 Not Found by default
...
53
54
55
56
 
57
58
59
...
53
54
55
 
56
57
58
59
0
@@ -53,7 +53,7 @@ end
0
 
0
 desc 'Generate RDoc documentation for the will_paginate plugin.'
0
 Rake::RDocTask.new(:rdoc) do |rdoc|
0
- files = ['README.rdoc', 'LICENSE']
0
+ files = ['README.rdoc', 'LICENSE', 'CHANGELOG']
0
   files << FileList.new('lib/**/*.rb').
0
     exclude('lib/will_paginate/named_scope*').
0
     exclude('lib/will_paginate/array.rb').
...
1
2
...
1
 
0
@@ -1,2 +1 @@
0
 require 'will_paginate'
0
-WillPaginate.enable
...
80
81
82
 
 
 
 
...
80
81
82
83
84
85
86
0
@@ -80,3 +80,7 @@ module WillPaginate
0
     end
0
   end
0
 end
0
+
0
+if defined?(Rails) and defined?(ActiveRecord) and defined?(ActionController)
0
+ WillPaginate.enable
0
+end

Comments

    No one has commented yet.