nagybence-railhead_permalink 0.1.8 → 0.1.9

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -19,9 +19,8 @@ module RailheadPermalink
19
19
  :reserved_names => (options[:reserved_names] || []).concat(ActionController::Base.resources_path_names.values)
20
20
  })
21
21
 
22
- before_validate :create_permalink
22
+ before_validation :create_permalink
23
23
  validates_presence_of field
24
- validates_presence_of permalink
25
24
  end
26
25
 
27
26
  def find_with_permalink(*args)
@@ -1,6 +1,6 @@
1
1
  Gem::Specification.new do |s|
2
2
  s.name = "railhead_permalink"
3
- s.version = "0.1.8"
3
+ s.version = "0.1.9"
4
4
  s.date = "2009-03-12"
5
5
  s.summary = "RailheadPermalink is a Ruby on Rails plugin that automatically finds ActiveRecord objects with permalink."
6
6
  s.email = "nagybence@tipogral.hu"
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: nagybence-railhead_permalink
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.8
4
+ version: 0.1.9
5
5
  platform: ruby
6
6
  authors:
7
7
  - Bence Nagy