Welcome to the Treehouse Community

Want to collaborate on code errors? Have bugs you need feedback on? Looking for an extra set of eyes on your latest project? Get support with fellow developers, designers, and programmers of all backgrounds and skill levels here with the Treehouse Community! While you're at it, check out some resources Treehouse students have shared here.

Looking to learn something new?

Treehouse offers a seven day free trial for new students. Get access to thousands of hours of content and join thousands of Treehouse students and alumni in the community today.

Start your free trial

Ruby

Search function on rails/heroku

Have finished my own web app using treehouse's lovely resources and I'd like to add a simple search function. I did it using sunspot but have then realised I need to pay $20/month for websolr to use it on heroku. Is there a free way to have a search function on my app? If not am I best to stick with sunspot (I've done it and it's working on my localhost?

Thanks

Justin Seidl
Justin Seidl
1,743 Points

Tessa do yo have a tutorial or an example of your setup? I'm new to Rails and would like to implement something like this for my application.

2 Answers

Jason Seifer
STAFF
Jason Seifer
Treehouse Guest Teacher

Hey Tessa,

If you get really bold you can try running it on your own vps server such as Linode or MediaTemple. They're about the same price ($20/month) but you can run anything you want. However, you will have to set up and maintan the server yourself.

Thanks Jason. It took me about five hours just to work out how to put a list of my model attributes in alphabetical order - I suspect a VPN is far beyond my skillset!

I paid the $20 and it was very easy to get working. Thanks for the advice.