Getting to work the Ajax Example in Agile Web

I’ve been reading Agile Web D. 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

Ben wrote:

I’ve been reading Agile Web D. 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

Ben,

 Here is a link to the Errata (Errors) in the book:

Pragmatic Bookshelf: By Developers, For Developers.

Not sure if maybe there is an error in their code?

Also, you may want to look here. This is someone else who was having
some trouble and their discussion:
http://groups.google.com/group/streamlined/browse_thread/thread/58d43385d5a8d583/761305477600c719

One more possible thing that can help:
http://punkracy.com/ go down the page about 1/3 and look for the
heading “Streamlined” looks like there is a tutorial there that may
help.

Hope one of these solves the problem for you.
Mike

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

On Jun 1, 8:37 pm, Mike R. [email protected]

Ben wrote:

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

On Jun 1, 8:37 pm, Mike R. [email protected]

Ben,

 Glad you got it to work.  I wasn't familiar with Streamline until 

you asked about it. I’ll definitely take a look at it now.

Mike