deletion problem with 1.8

deletion problem with 1.8+issue


  • View
  • Changes
  • Options
  • Related
  • Edit
  • 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"}

     

    Show session dump

    Show env dump

    Response

    Headers:

    None

     

    Status:
    closed

  • View
  • Changes
  • Options
  • Related
  • Edit
  • this should be fixed now.

    try it

     

    wagneers

    intro

    videos

    features

    syntax

    weekly calls

    ideas

     

    twitter

    mailing list

     

    developers

    roadmap

    next release

    tickets

    pack API

    REST API

    one-pager

     

    github

    mailing list

     

    wagn.org

    recent

    todo