With the above change in I can now fill out the dialog which is leading to
the following error in the logfile
Processing by StoryStatusesController#create as JS
Parameters: {"render_options"=>{"preamble"=>"",
"contexts_function"=>"hjq.ajax.updatePartContexts"},
"render"=>{"0"=>{"part_context
"=>"BAhbCTokc2VsZWN0X29uZV9vcl9uZXdfZGlhbG9nX3NlbGVjdEkiEHRoaXM6\nc3RhdHVzBjoGRUZbAFsHSSIKc3RvcnkGOwZGSSILc3RhdHVzBjsGRg==--2e2dfb657
5532eac512d39e6113555816cd2f757", "id"=>"select-one-this-status",
"function"=>"hjq.ajax.update"}}, "page_path"=>"/projects/1-project-
1/stories/new",
"authenticity_token"=>"AiddGRVI5gUM5vtDLI3v5YAK1O+N775FaSBxkQb1bw0=",
"story_status"=>{"name"=>"junk99"}}
User Load (0.6ms) SELECT "users".* FROM "users" WHERE "users"."id" = 1
LIMIT 1
AREL (0.3ms) INSERT INTO "story_statuses" ("name", "created_at",
"updated_at") VALUES ('junk99', '2012-01-12 13:30:52.484577', '20
12-01-12 13:30:52.484577')
StoryStatus Load (0.3ms) SELECT "story_statuses".* FROM "story_statuses"
Call part: select_one_or_new_dialog_select. this-id = this:status, locals =
[]
: form_field_path = ["story", "status"]
Completed 500 Internal Server Error in 503ms
ArgumentError (no such class in typed-id: this:status):
app/controllers/story_statuses_controller.rb:19:in `block (3 levels) in
create'
app/controllers/story_statuses_controller.rb:15:in `block in create'
app/controllers/story_statuses_controller.rb:10:in `create'
As you can see the new story_status is being created. this:status ???
should that be a : or a . ie colon or period?
Bob
--
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/-/8ZxGNDmj2bsJ.
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.