Skip to content

Commit 714a6c7

Browse files
committed
Coding style
1 parent 9b6f949 commit 714a6c7

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

Appraisals

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

33
require 'yaml'
44

5-
rails_versions = YAML.load(File.read('appraisal.yml'))
5+
rails_versions = YAML.safe_load(File.read('appraisal.yml'))
66

77
rails_versions.each do |version, gems|
88
appraise "rails_#{version}" do

lib/ajax-datatables-rails/base.rb

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -137,11 +137,11 @@ def retrieve_records
137137
end
138138

139139
def records_total_count
140-
numeric_count(fetch_records.count(:all))
140+
numeric_count fetch_records.count(:all)
141141
end
142142

143143
def records_filtered_count
144-
numeric_count(filter_records(fetch_records).count(:all))
144+
numeric_count filter_records(fetch_records).count(:all)
145145
end
146146

147147
def numeric_count(count)

0 commit comments

Comments
 (0)