Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
tree: d53c3a0128
Fetching contributors…

Cannot retrieve contributors at this time

19 lines (15 sloc) 0.282 kb
module SunspotCell
module Type
class AttachmentType < Sunspot::Type::AbstractType
def indexed_name(name)
"#{name}_attachment"
end
def to_indexed(value)
value if value
end
def cast(text)
text
end
end
end
end
Jump to Line
Something went wrong with that request. Please try again.