I'm getting the following error when using select-one-or-new-dialog when 
trying to add a new item.  Form tag posted below the error


Started POST "/locations" for 127.0.0.1 at Tue Jun 07 14:03:03 -0400 2011
  Processing by LocationsController#create as JS
  Parameters: {"location"=>{"name"=>"test"}, "page_path"=>"/materials/new", 
"render"=>{"0"=>{"part_context"=>"BAhbCTokc2VsZWN0X29uZV9vcl9uZXdfZGlhbG9nX3NlbGVjdCIOOmxvY2F0\naW9uWwBbByINbWF0ZXJpYWwiDWxvY2F0aW9u--922e8446e04efcba24a6a6a3450e473b7f4570d6\n",
 
"id"=>"select-one--location"}}, 
"authenticity_token"=>"MIREIbqlzd0cJIITUAwrmMkJLEnZFsyKCUzJ50EBs/k="}
  SQL (0.6ms)  SELECT COUNT(*) FROM "users"
  User Load (0.2ms)  SELECT "users".* FROM "users" WHERE "users"."id" = 1 
LIMIT 1
  AREL (0.2ms)  INSERT INTO "locations" ("name", "updated_at", "created_at") 
VALUES ('test', '2011-06-07 18:03:03.792401', '2011-06-07 18:03:03.792401')
Call part: select_one_or_new_dialog_select. this-id = :location, locals = []
         : form_field_path = ["material", "location"]
Completed   in 373ms

ArgumentError (invalid typed-id: :location):
  

Rendered 
/var/lib/gems/1.8/gems/actionpack-3.0.7/lib/action_dispatch/middleware/templates/rescues/_trace.erb
 
(0.9ms)
Rendered 
/var/lib/gems/1.8/gems/actionpack-3.0.7/lib/action_dispatch/middleware/templates/rescues/_request_and_response.erb
 
(7.8ms)
Rendered 
/var/lib/gems/1.8/gems/actionpack-3.0.7/lib/action_dispatch/middleware/templates/rescues/diagnostics.erb
 
within rescues/layout (11.9ms)


<extend tag="form" for="Material">
  <old-form merge>
    <field-list: fields="name, quantity, unit, location" >
    <location-view:><select-one-or-new-dialog/></location-view:>
    </field-list>
  </old-form>
</extend>

-- 
You received this message because you are subscribed to the Google Groups "Hobo 
Users" group.
To view this discussion on the web visit 
https://groups.google.com/d/msg/hobousers/-/M3ViUldyWGdyTkFK.
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/hobousers?hl=en.

Reply via email to