# Getting to work the Ajax Example in Agile Web...

**URL:** <https://discuss.rubyonrails.org/t/getting-to-work-the-ajax-example-in-agile-web/13838>\
**Category:** rubyonrails-talk\
**Created:** [June 1, 2007, 9:51pm UTC](https://discuss.rubyonrails.org/t/getting-to-work-the-ajax-example-in-agile-web/13838 "2007-06-01T21:51:36Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![Ben](https://avatars.discourse-cdn.com/v4/letter/b/df788c/32.png) [@Ben](https://discuss.rubyonrails.org/u/Ben)\
**Post date:** [June 1, 2007, 9:51pm UTC](https://discuss.rubyonrails.org/t/getting-to-work-the-ajax-example-in-agile-web/13838/1 "2007-06-01T21:51:36Z")

</div>

I've been reading Agile Web Development on Rails and getting to work each of the examples UNTIL the example of AJAX in Chapter 23 ("The Web, V2.0" by Justin Gehtland).

I've written the code exactly per "The Search Example" (or, at least I think I have...)

I keep getting a method not found error for the "conditions\_by\_like" method. Per the book, this is code from the Streamlined framework.

The streamline plugin is installed (I'm told so when I try to install it again).

Per the plugin README, I added the line "include StreamlinedHelper"to app/helpers/application\_helper.rb.

But after HOURS of trying varied things to get it to work, I still can't get past the method not found error.

I think I'm missing something on how to get the Streamline "relevance\_extensions" to be installed and recognized, but don't know what.

Can any please assist me here??

Ben

---

<div class="post-metadata">

**Author:** ![Ben](https://avatars.discourse-cdn.com/v4/letter/b/df788c/32.png) [@Ben](https://discuss.rubyonrails.org/u/Ben)\
**Post date:** [June 2, 2007, 4:55pm UTC](https://discuss.rubyonrails.org/t/getting-to-work-the-ajax-example-in-agile-web/13838/2 "2007-06-02T16:55:52Z")

</div>

Mike,

Thanks!

What finally worked was creating a clean application and following the steps per the link you gave to punkracy.com. For some reason my application was NOT installing the plug-in (saying installed already). When I actually got the plug-in installed and followed the tutorial steps, it worked even better than expected..(streamline does a lot).

Ben
