seofy 0.1.0 → 0.1.1
Sign up to get free protection for your applications and to get access to all the features.
- data/lib/seofy/task_runner.rb +1 -1
- data/lib/seofy/version.rb +1 -1
- metadata +3 -3
data/lib/seofy/task_runner.rb
CHANGED
@@ -32,7 +32,7 @@ module Seofy
|
|
32
32
|
def update(record)
|
33
33
|
adapter = record.class.seofy_adapter
|
34
34
|
adapter.set_seofy_slug(record)
|
35
|
-
record.class.
|
35
|
+
record.class.update_all(["#{adapter.column} = ?", adapter.seofy_slug(record)], ['id = ?', record.id])
|
36
36
|
end
|
37
37
|
end
|
38
38
|
end
|
data/lib/seofy/version.rb
CHANGED
metadata
CHANGED