Closed tripodrob closed 12 years ago
Do you use official jquery rails gem ?
I was using the official jquery gem, but I just tried yours with the same results.
Robbie
On Jun 8, 2012, at 5:38 PM, Volker Hochstein wrote:
Do you use official jquery rails gem ?
Reply to this email directly or view it on GitHub: https://github.com/vhochstein/active_scaffold/issues/198#issuecomment-6213678
official jquery gem is correct one with latest versions of my activescaffold. Will have to check, not sure why parent refreshing is nt working anymore.
Concerning your master issue undefined method page. I ve started to migrate paging feature to kaminari gem. So you need to add kaminari gem to your gemfile
I added the kaminari gem and it did get past the page error. Hopefully the refresh problem will be something simple.
On Jun 9, 2012, at 3:52 AM, Volker Hochstein wrote:
official jquery gem is correct one with latest versions of my activescaffold. Will have to check, not sure why parent refreshing is nt working anymore.
Concerning your master issue undefined method page. I ve started to migrate paging feature to kaminari gem. So you need to add kaminari gem to your gemfile
Reply to this email directly or view it on GitHub: https://github.com/vhochstein/active_scaffold/issues/198#issuecomment-6217807
should be fixed. Please verify.
Unfortunately no. Im getting a "Request Failed (code 500, Internal Error)" error on refresh now.
On Jun 9, 2012, at 10:08 AM, Volker Hochstein wrote:
should be fixed. Please verify.
Reply to this email directly or view it on GitHub: https://github.com/vhochstein/active_scaffold/issues/198#issuecomment-6220069
Can you please provide some more details ? a stack trace would be great
I edited the related record, then once I click the X to close the related list I get the red 500 error in the AS interface.
I'm attaching a screen shot. Here is the console output from the close operation:
Started GET "/people/1/row?method=get&escape=false" for 128.143.166.24 at Sat Jun 09 11:08:57 -0400 2012 Processing by PeopleController#row as JS Parameters: {"escape"=>"false", "id"=>"1"} Person Load (1.0ms) SELECT "people".* FROM "people" WHERE "people"."id" = $1 LIMIT 1 ["id", "1"] SELECT COUNT() FROM "person_alternative_names" WHERE "person_alternative_names"."personid" = 1 CACHE (0.0ms) SELECT COUNT() FROM "person_alternative_names" WHERE "person_alternative_names"."person_id" = 1 PersonAlternativeName Load (0.8ms) SELECT "person_alternative_names".* FROM "person_alternative_names" WHERE "person_alternative_names"."person_id" = 1 PersonType Load (0.8ms) SELECT "person_types".* FROM "person_types" WHERE "persontypes"."id" = 2 LIMIT 1 Race Load (0.7ms) SELECT "races".* FROM "races" WHERE "races"."id" = 7 LIMIT 1 (0.7ms) SELECT COUNT() FROM "person_places" WHERE "person_places"."personid" = 1 CACHE (0.0ms) SELECT COUNT() FROM "person_places" WHERE "person_places"."person_id" = 1 PersonPlace Load (0.8ms) SELECT "person_places".* FROM "person_places" WHERE "person_places"."person_id" = 1 Person Load (0.9ms) SELECT "people".* FROM "people" WHERE "people"."id" = 1 LIMIT 1 Place Load (0.8ms) SELECT "places".* FROM "places" WHERE "places"."id" = 1 LIMIT 1 PersonPlaceRole Load (0.7ms) SELECT "person_place_roles".* FROM "person_place_roles" WHERE "person_placeroles"."id" = 1 LIMIT 1 (0.7ms) SELECT COUNT() FROM "person_courses" WHERE "person_courses"."personid" = 1 CACHE (0.0ms) SELECT COUNT() FROM "person_courses" WHERE "person_courses"."person_id" = 1 PersonCourse Load (0.7ms) SELECT "person_courses".* FROM "person_courses" WHERE "person_courses"."person_id" = 1 CACHE (0.0ms) SELECT "people".* FROM "people" WHERE "people"."id" = 1 LIMIT 1 PersonCourseRole Load (0.8ms) SELECT "person_course_roles".* FROM "person_course_roles" WHERE "person_course_roles"."id" = 1 LIMIT 1 Course Load (0.8ms) SELECT "courses".* FROM "courses" WHERE "courses"."id" = 1 LIMIT 1 Rendered /Users/rwb3y/.rvm/gems/ruby-1.8.7-p352/bundler/gems/active_scaffold-b54f4fb46c0a/frontends/default/views/_list_record_columns.html.erb (32.7ms) User Load (0.9ms) SELECT "users".* FROM "users" WHERE "users"."id" = 1 LIMIT 1 Rendered /Users/rwb3y/.rvm/gems/ruby-1.8.7-p352/bundler/gems/active_scaffold-b54f4fb46c0a/frontends/default/views/_action_group.html.erb (88.9ms) Rendered /Users/rwb3y/.rvm/gems/ruby-1.8.7-p352/bundler/gems/active_scaffold-b54f4fb46c0a/frontends/default/views/_list_actions.html.erb (92.9ms) Rendered /Users/rwb3y/.rvm/gems/ruby-1.8.7-p352/bundler/gems/active_scaffold-b54f4fb46c0a/frontends/default/views/_list_record.html.erb (135.0ms) Rendered /Users/rwb3y/.rvm/gems/ruby-1.8.7-p352/bundler/gems/active_scaffold-b54f4fb46c0a/frontends/default/views/_row.html.erb (139.7ms) Completed 200 OK in 147ms (Views: 132.1ms | ActiveRecord: 12.1ms)
On Jun 9, 2012, at 11:04 AM, Volker Hochstein wrote:
Can you please provide some more details ? a stack trace would be great
Reply to this email directly or view it on GitHub: https://github.com/vhochstein/active_scaffold/issues/198#issuecomment-6220561
Here is a url for the screen grab: http://hero.village.virginia.edu/~rwb3y/pic.png
ok, hopefully now it is fixed.
Great! Yes it works now.
Hi, I've run into a couple of issues. I'm using Rails 3.2.5 and the official gems (render_component_vho 3.2.1 and active_scaffold_vho 3.1.9) and when I edit a related item (has_many) from the List view, the parent line doesn't get updated when finished editing. You have to refresh the list to see the new info. In earlier versions I haven't had this issue.
I tried switching to the github gems, but get the following error:
undefined method `page' for #ActiveRecord::Relation:0x105e41d20
Any suggestions? Thanks, Robbie