Write a rails app in 24 hours (read all 4 entries…)
One of my most productive days ever

I didn’t start out to exactly write an application, but to write some sort of generator for rails applications. I wanted to give an Open Search interface to any rails application that was backed by a simple search engine.

And I actually did it. The end result is:

  • an indexing script that runs through all the Models looking for those that are descended from ActiveRecord’s and indexing the contents of those fields.
  • a simple_search controller to handle the request (with Routes)
  • set of html based rendering templates
  • set of Open Search RSS result rendering templates

I don’t have any application online to show how it is working, but I’ll try and get some sort of packaging and how-to written up and posted to the ruby on rails mailling list.



Comments:

Neat idea!

I just downloaded it from your site. I like it!

couldn't have done it with out you

Thanks, but you know, I couldn’t have done it without SimpleSearch, so you and Dave will have to take some of the credit.

Look out for gem in the day or so.


 

I want to:
43 Things Login