Create a gist now

Instantly share code, notes, and snippets.

What would you like to do?
Mike Pack Solr Article 2
class Product < ActiveRecord::Base
searchable do
text :name, :boost => 2.0
text :color
boolean :used
end
end

Is the semi colon on line 3 a typo? Or is that part of the DSL?

Owner

ruprict commented Mar 9, 2012

Typo..thanks.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment