Permalink
Browse files

fixing episode 278

  • Loading branch information...
1 parent d4718e6 commit f73fe0e6d4fedc21d87c825357bf788b34e2f4d7 @ryanb ryanb committed Aug 8, 2011
@@ -4,4 +4,6 @@ Run these commands to try it out.
bundle
rake db:migrate
+ rake db:fixtures:load
+ rake sunspot:solr:start
rails s
@@ -1,5 +1,5 @@
class Article < ActiveRecord::Base
- attr_accessible :name, :content
+ attr_accessible :name, :content, :published_at
has_many :comments
searchable do
@@ -4,4 +4,5 @@ Run these commands to try it out.
bundle
rake db:migrate
+ rake db:fixtures:load
rails s
@@ -1,4 +1,4 @@
class Article < ActiveRecord::Base
- attr_accessible :name, :content
+ attr_accessible :name, :content, :published_at
has_many :comments
end

0 comments on commit f73fe0e

Please sign in to comment.