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
@ratrocket

This comment has been minimized.

Show comment Hide comment
@ratrocket

ratrocket Mar 9, 2012

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

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

@ruprict

This comment has been minimized.

Show comment Hide comment
@ruprict

ruprict Mar 9, 2012

Typo..thanks.

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