Hello i got a field to search a name in the DB

The problem is that the name could have char like #

so in my view:

<%= text_field_with_auto_complete :member, :name%>
<%= observe_field 'member_name',
              :frequency => 0.5,
     :update => 'member_named',
                 :url =>
{:controller=>"admin/members",:action=>'live_search'},
     :with=> 'member_name'%>
so if i put on the textfield "peter #2"
i got <%=params[member_name]%> peter

so everything after '#' isn't there, what could i do?

but in the auto_complete all the names appear while i am writing...
-- 
Posted via http://www.ruby-forum.com/.

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Deploying Rails" group.
To post to this group, send email to rubyonrails-deployment@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/rubyonrails-deployment?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to