deletion problem with 1.8+example
I tried to delete http://play.dwagn.org/play/aname and when I got the warning about dependents, clicked "Yes do it", and got:
TypeError in CardController#remove
can't modify frozen hash
Rails.root: /usr/cldstr/wagn.org/wagn/ws/web
Application Trace | Framework Trace | Full Trace
app/models/card.rb:230:in `destroy_without_validation'
app/models/card.rb:226:in `destroy_without_validation'
app/models/card.rb:256:in `destroy_without_permissions'
lib/wagn/model/permissions.rb:31:in `destroy'
app/controllers/card_controller.rb:128:in `remove'
Request
Parameters:
{"format"=>"html", "commit"=>"Yes do it", "authenticity_token"=>"YbGElTJuSjjU71xi91cseZvAuUPpj+Vi0GNssU2XqZA=", "utf8"=>"342234223", "id"=>"aname", "success"=>"REDIRECT: TO-PREVIOUS", "confirm_destroy"=>"true", "home_view"=>"open", "main"=>"aname"}
Response
Headers:
None