Ruby on Rails Tuesday, April 19, 2016

My console is this:

Parameters: {"utf8"=>"✓", "search_employee_by_cpf"=>"11111111111", "authorization_id"=>"4", "authorization"=>{"contract_number"=>["11"], "value_solve"=>["4343443", "", "", ""]}, "commit"=>"Reserve"}
  SQL (315.7ms)  UPDATE "authorizations" SET "value_solve" = '---
- ''4343443''
- ''''
- ''''
- ''''
', "situation" = 2 WHERE "authorizations"."contract_number" = '11'

How do I look like:

Parameters: {"utf8"=>"✓", "search_employee_by_cpf"=>"11111111111", "authorization_id"=>"4", "authorization"=>{"contract_number"=>["11"], "value_solve"=>["4343443", "", "", ""]}, "commit"=>"Reserve"}
  SQL (315.7ms)  UPDATE "authorizations" SET "value_solve" = ''4343443'', "situation" = 2 WHERE "authorizations"."contract_number" = '11'

--
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/e02c4f3e-c2b2-4a66-a757-ce525f1cdc6c%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

No comments:

Post a Comment