On 25 January 2016 at 10:51, Matti Ezzat <lists@ruby-forum.com> wrote:
> Hi Colin
>
> Thank you for your replay, what I just want is if I click on the
> suggestion button I get a specific result that depend on the check_box
> if its checked or not.......the codes work but it show all the results
> not a specific ones
Still too general I am afraid. The first part of the problem is to
pass the checkbox value with the request so that it can be tested in
the code. Are you able to do that?
The second part of the problem is to run only the appropriate search.
Don't worry about that till you have solved the first part. Writing
code is always a matter of splitting the requirement down into small
parts and solving them one at a time.
Colin
--
You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group.
To unsubscribe from this group and stop receiving emails from it, send an email to rubyonrails-talk+unsubscribe@googlegroups.com.
To post to this group, send email to rubyonrails-talk@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/rubyonrails-talk/CAL%3D0gLu1fPbxqOADaq_0YA_LWX7KQ5BcVwLUwDK9cc06SKj6SA%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.
No comments:
Post a Comment