dougcole-friendly_id 2.0.4 → 2.0.5

Sign up to get free protection for your applications and to get access to all the features.
data/VERSION.yml CHANGED
@@ -1,4 +1,4 @@
1
1
  ---
2
- :patch: 4
2
+ :patch: 5
3
3
  :major: 2
4
4
  :minor: 0
@@ -13,7 +13,7 @@ module FriendlyId::NonSluggableInstanceMethods
13
13
  end
14
14
 
15
15
  def has_better_id?
16
- found_using_numeric_id? && !friendly.blank?
16
+ found_using_numeric_id? && !friendly_id.blank?
17
17
  end
18
18
 
19
19
  # Returns the friendly_id.
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: dougcole-friendly_id
3
3
  version: !ruby/object:Gem::Version
4
- version: 2.0.4
4
+ version: 2.0.5
5
5
  platform: ruby
6
6
  authors:
7
7
  - Norman Clarke