spec/rails_template/app/models/author.rb in sunspot_rails-2.0.0.pre.111215 vs spec/rails_template/app/models/author.rb in sunspot_rails-2.0.0.pre.120415

- old
+ new

@@ -1,7 +1,7 @@ class Author < ActiveRecord::Base - set_table_name :writers - set_primary_key :writer_id + self.table_name = :writers + self.primary_key = :writer_id searchable do string :name end end