We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 867192a commit 78261e5Copy full SHA for 78261e5
2 files changed
app/models/author.rb
@@ -37,7 +37,7 @@ def abbreviated_name
37
end
38
39
def standard_name?
40
- family == self.class.standardized_family(family) &&
41
- given == self.class.standardized_given(given)
+ family == self.class.standardize_family(family) &&
+ given == self.class.standardize_given(given)
42
43
lib/tasks/clean_authors.rake
@@ -3,7 +3,7 @@ namespace :authors do
3
task :clean => :environment do |t, args|
4
km = 0
5
ks = 0
6
- Author.each do |author|
+ Author.all.each do |author|
7
next if author.standard_name?
8
9
par = {
0 commit comments