On Thu, Dec 4, 2008 at 11:28 AM, Jay Mark <[EMAIL PROTECTED]> wrote: > > The problem could be the query because when I search for one record, it > works.
> In SQL, the query will be: > SELECT name, age > FROM authors > WHERE age = 'the selected age' // the value, not the id of the selected > age. So answer the previous question: > Thorsten Mueller wrote: >> So what is in params[:authors] ? >> Where does this param come from and does it contain an age? You can look in your logs (Rails and/or MySQL) to see the query that's being constructed from your code, if nothing else. -- Hassan Schroeder ------------------------ [EMAIL PROTECTED] --~--~---------~--~----~------------~-------~--~----~ 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 [email protected] To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en -~----------~----~----~----~------~----~------~--~---

