r3_exception_logger 0.1.13 → 0.1.15

Sign up to get free protection for your applications and to get access to all the features.
@@ -33,7 +33,7 @@ class LoggedExceptionsController < ApplicationController
33
33
  exceptions = exceptions.by_controller(controller_filter)
34
34
  exceptions = exceptions.by_action(action_filter)
35
35
  end
36
- @exceptions = exceptions.page(params[:page]).per(30)
36
+ @exceptions = exceptions.paginate(:page => params[:page], :per_page => 25)
37
37
 
38
38
  respond_to do |format|
39
39
  format.html { redirect_to :action => 'index' unless action_name == 'index' }
@@ -1,7 +1,7 @@
1
1
  <div id="exceptions">
2
2
  <div class="pages">
3
3
  <%= link_to 'Delete Visible', { :action => 'destroy_all' }, :class => 'delete_visible_link' %>
4
- <strong><%= paginate @exceptions, :style => 'display:inline' %></strong>
4
+ <strong><%= will_paginate @exceptions, :style => 'display:inline' %></strong>
5
5
  </div>
6
6
  <h1>Exceptions <%= raw "<span>(filtered)</span>" if filtered? %> </h1>
7
7
  <table>
@@ -26,6 +26,6 @@
26
26
  </tbody>
27
27
  </table>
28
28
  <div class="pages pages-bottom">
29
- <strong><%= paginate @exceptions, :style => 'display:inline' %></strong>
29
+ <strong><%= will_paginate @exceptions, :style => 'display:inline' %></strong>
30
30
  </div>
31
31
  </div> <!-- #exceptions -->
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: r3_exception_logger
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.13
4
+ version: 0.1.15
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors:
@@ -13,7 +13,7 @@ date: 2012-05-26 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: rails
16
- requirement: &23087556 !ruby/object:Gem::Requirement
16
+ requirement: &22934208 !ruby/object:Gem::Requirement
17
17
  none: false
18
18
  requirements:
19
19
  - - ! '>='
@@ -21,10 +21,10 @@ dependencies:
21
21
  version: 3.0.0
22
22
  type: :runtime
23
23
  prerelease: false
24
- version_requirements: *23087556
24
+ version_requirements: *22934208
25
25
  - !ruby/object:Gem::Dependency
26
- name: kaminari
27
- requirement: &23087100 !ruby/object:Gem::Requirement
26
+ name: will_paginate
27
+ requirement: &22933488 !ruby/object:Gem::Requirement
28
28
  none: false
29
29
  requirements:
30
30
  - - ! '>='
@@ -32,10 +32,10 @@ dependencies:
32
32
  version: '0'
33
33
  type: :runtime
34
34
  prerelease: false
35
- version_requirements: *23087100
35
+ version_requirements: *22933488
36
36
  - !ruby/object:Gem::Dependency
37
37
  name: squeel
38
- requirement: &23086548 !ruby/object:Gem::Requirement
38
+ requirement: &22932744 !ruby/object:Gem::Requirement
39
39
  none: false
40
40
  requirements:
41
41
  - - ! '>='
@@ -43,10 +43,10 @@ dependencies:
43
43
  version: '0'
44
44
  type: :runtime
45
45
  prerelease: false
46
- version_requirements: *23086548
46
+ version_requirements: *22932744
47
47
  - !ruby/object:Gem::Dependency
48
48
  name: i18n
49
- requirement: &23086200 !ruby/object:Gem::Requirement
49
+ requirement: &22932384 !ruby/object:Gem::Requirement
50
50
  none: false
51
51
  requirements:
52
52
  - - ! '>='
@@ -54,10 +54,10 @@ dependencies:
54
54
  version: 0.4.1
55
55
  type: :runtime
56
56
  prerelease: false
57
- version_requirements: *23086200
57
+ version_requirements: *22932384
58
58
  - !ruby/object:Gem::Dependency
59
59
  name: shoulda
60
- requirement: &23085792 !ruby/object:Gem::Requirement
60
+ requirement: &22932048 !ruby/object:Gem::Requirement
61
61
  none: false
62
62
  requirements:
63
63
  - - ! '>='
@@ -65,7 +65,7 @@ dependencies:
65
65
  version: 2.11.3
66
66
  type: :development
67
67
  prerelease: false
68
- version_requirements: *23085792
68
+ version_requirements: *22932048
69
69
  description: Logs exceptions inside a database table. Now available as gem for Rails3
70
70
  (previously a plugin for Rails2)
71
71
  email: roland.guem@gmail.com