Skip to content

Commit

Permalink
fixing friendly_id slug for call_lists for ruby 1.8.7
Browse files Browse the repository at this point in the history
  • Loading branch information
poblahblahblah committed Oct 9, 2012
1 parent 6f80c59 commit b1aa2a5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/models/call_list.rb
@@ -1,6 +1,6 @@
class CallList < ActiveRecord::Base
extend FriendlyId
friendly_id :name, use: :slugged
friendly_id :name, :use => :slugged

after_save :add_call_list_membership
validates :name, :uniqueness => true, :presence => true
Expand Down

0 comments on commit b1aa2a5

Please sign in to comment.