Hi, I''m trying the text search from the rails wiki (http://wiki.rubyonrails.org/rails/pages/TextSearch) but keep getting this error. any ideas? You have a nil object when you didn''t expect it! The error occured while evaluating nil.columns ... #{RAILS_ROOT}/lib/search.rb:41:in `searchable_fields'' #{RAILS_ROOT}/lib/search.rb:64:in `searchable_fields_in_associations'' #{RAILS_ROOT}/lib/search.rb:59:in `searchable_fields_in_associations'' #{RAILS_ROOT}/lib/search.rb:50:in `searchable_fields'' #{RAILS_ROOT}/lib/search.rb:95:in `search'' #{RAILS_ROOT}/app/views/castle/index.rhtml:109:in `_run_rhtml_castle_index'' --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send email to rubyonrails-talk-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk-unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-talk -~----------~----~----~----~------~----~------~--~---