karmi/tire — pull request #446 by mauricio (2012-09-02 19:27:19+00:00)
Title: Acceptig symbol as :as parameters when indexing and documents and adding documentation on how to use lambda's on it

Hello guys,

This PR contains code to accept `Symbol`s and `lambda`s as as values for `:as` options when indexing. It contains tests covering this new code and also tests for the current implementation.

I have added validation for when `:as` fields are set to make sure that if the user gives it an unknown or invalid value an exception will be raised instead of failing silently (or breaking as in the case of `lambda`s).

I have also added information to the README file pertaining these changes when indexing documents.