Never mind. I just tried it and it works perfectly. Thanks for the help.

Bob

Bob Smith wrote:
> How would this work with the observe_field later in the page ? This is 
> an edit page, so if the field is changed, the page needs to react 
> correctly This works fine for a new user, but will it be OK for changing 
> an existing user ?
> 
> Thanks for the reply
> 
> Bob
> 
>> <div id="church">
>>   <% if @household.zip != xxxxx and @household.zip != yyyyy %>
>>       <%= render :partial => "church_select %>
>>   <% end %>
>> </div>
>> 
>> You need to change the render :nothing in your controller to render an
>> empty string or partial to empty the content of the church div when
>> appropriate.
>> 
>> HTH,
>> Bill

-- 
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 [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.

Reply via email to