app/models/spud_post.rb in spud_blog-0.1.2 vs app/models/spud_post.rb in spud_blog-0.1.3
- old
+ new
@@ -1,6 +1,6 @@
class SpudPost < ActiveRecord::Base
-
+ searchable
has_and_belongs_to_many :categories,
:class_name => 'SpudPostCategory',
:join_table => 'spud_post_categories_posts',
:foreign_key => 'spud_post_id'
belongs_to :author, :class_name => 'SpudUser', :foreign_key => 'spud_user_id'
\ No newline at end of file