Displaying 2 results from an estimated 2 matches for "customer_detail".
Did you mean:
customer_details
2006 Jan 02
0
Problem with remote updates
...dissappear. I think its happening
because both actions are firing at the same time on a fairly simple request.
For example, I have a link_to_remote tag:
<%= link_to_remote ''Edit'', :url => {:action => ''edit'', :id => @customer},
:update => ''customer_detail''
:before => "new Effect.Fade(''customer_detail'')",
:complete => "new Effect.Appear(''customer_detail'')" %>
This doesn''t work because it just makes the div tag not display. If I remove
the effects, then the tag is repl...
2008 Jan 21
1
specin'' update_attributes! + Hash
...ec it returns an error.
*** below is the error message :
Spec::Mocks::MockExpectationError in ''InteractController (submit) -
saving a form to use later should update costumer details using the form
params''
Mock ''Instance_1039'' expected :update_attributes with
({:customer_details=>"--- !map:HashWithIndifferentAccess \\ntitle:
Hola\\n"}) but received it with ({:customer_details=>"---
!map:HashWithIndifferentAccess \ntitle: Hola\n"})
C:/webapps/interact/branches/interact_new_features/app/controllers/interact_controller.rb:74:in
`submit''
./s...