Lance,

I think that would be great.  Would there be a way that I could pass an  
array of attributes in?  Like this:

index_data << [EMAIL PROTECTED], @document.comment, @document.note, etc]

Or something such as that.  I'd be more than happy to help out with  
anything you need, I'm still fairly new, but could hack around some if  
you needed it.

Josh

On Monday, February 13, 2006, at 11:12 PM, Lance Ball wrote:
>Yep.  That will do it.  I wonder, looking at your code, however, if there
>isn't an refactoring in order for IndexData.  It seems wrong to have 2
>IndexData records for the same URL and title.
>
>What if you could do something like:
>
>index_data = IndexableRecord::IndexData.new(url, @document.name)
>index_data << @document.text
>index_data << @document.comment
>
>If it's useful, I'll put it on the TODO list.
>
>Lance

-- 
Posted with http://DevLists.com.  Sign up and save your time!
_______________________________________________
engine-users mailing list
[email protected]
http://lists.rails-engines.org/listinfo.cgi/engine-users-rails-engines.org

Reply via email to