sorting - Drying up Models for Solr Sunspot searchable with Concerns -
i want dry models; sunspot allows one(1) "searchable" block in model. making 2 ignores second one. failed example below: digital.rb class digital < activerecord::base include baseconcerns belongs_to :digitable, polymorphic: true # ignores searchable string :url text :url string :remark text :remark end end base_concerns.rb module baseconcerns extend activesupport::concern included before_create{ self.id = uuidtools::uuid.timestamp_create().to_s.downcase if id.blank? } self.primary_key = 'id' # searchable text :id time :created_at time :updated_at end end end i want dry models using concern , want named columns searchable; while others can specify; how can this?