I've done this using Soulmate before. I added the after_save for the models I wanted to be able to search for. In my data I'd store the search term as the key, and in the value i'd store a hash containing the full name, id, and type. Worked great.
I use both pry, but since I switched to pow, it's become a pain. I started using better_errors and now when I'm doing something in the browser where I'd normally use pry, I just throw and use the binding it give you. Far easier. I still use pry for tests and such.
I've done this using Soulmate before. I added the after_save for the models I wanted to be able to search for. In my data I'd store the search term as the key, and in the value i'd store a hash containing the full name, id, and type. Worked great.
I use both pry, but since I switched to pow, it's become a pain. I started using better_errors and now when I'm doing something in the browser where I'd normally use pry, I just throw and use the binding it give you. Far easier. I still use pry for tests and such.
Just my .02.