app/models/writefully/post.rb in writefully-0.3.6 vs app/models/writefully/post.rb in writefully-0.4.0
- old
+ new
@@ -1,6 +1,8 @@
module Writefully
class Post < ActiveRecord::Base
+ self.table_name = "writefully_posts"
+
extend FriendlyId
include Writefully::Postable
friendly_id :title, use: :slugged