Skip to content

Commit

Permalink
Bugfix: Oops, self.table_name 'slugs' != self.table_name = 'slugs'
Browse files Browse the repository at this point in the history
  • Loading branch information
anathematic committed Feb 16, 2012
1 parent bd30c73 commit ea4928a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/slugged/slug.rb
Original file line number Original file line Diff line number Diff line change
@@ -1,6 +1,6 @@
module Slugged module Slugged
class Slug < ActiveRecord::Base class Slug < ActiveRecord::Base
self.table_name "slugs" self.table_name = "slugs"


validates_presence_of :record_id, :slug, :scope validates_presence_of :record_id, :slug, :scope


Expand Down

0 comments on commit ea4928a

Please sign in to comment.