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 --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send email to rubyonrails-talk-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk-unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en -~----------~----~----~----~------~----~------~--~---
Ben wrote:> 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?? > > BenBen, Here is a link to the Errata (Errors) in the book: http://books.pragprog.com/titles/rails2/errata. 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 -- Posted via http://www.ruby-forum.com/. --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send email to rubyonrails-talk-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk-unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en -~----------~----~----~----~------~----~------~--~---
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 Riley <rails-mailing-l...-ARtvInVfO7ksV2N9l4h3zg@public.gmane.org> wrote:> Ben wrote: > > 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 > > Ben, > > Here is a link to the Errata (Errors) in the book: > > http://books.pragprog.com/titles/rails2/errata. > > 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/58d43... > > 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 > > -- > Posted viahttp://www.ruby-forum.com/.- Hide quoted text - > > - Show quoted text ---~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send email to rubyonrails-talk-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk-unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en -~----------~----~----~----~------~----~------~--~---
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 Riley <rails-mailing-l...-ARtvInVfO7ksV2N9l4h3zg@public.gmane.org>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 -- Posted via http://www.ruby-forum.com/. --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send email to rubyonrails-talk-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk-unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en -~----------~----~----~----~------~----~------~--~---