{"issue":{"created_at":"2011-11-03T13:40:34Z","state":"open","updated_at":"2011-12-14T17:09:49Z","user":{"gravatar_id":"1904e5011af15ca61fc1307c4736d61e","id":1089756,"url":"https://api.github.com/users/cthulhu666","login":"cthulhu666","avatar_url":"https://secure.gravatar.com/avatar/1904e5011af15ca61fc1307c4736d61e?d=https://a248.e.akamai.net/assets.github.com%2Fimages%2Fgravatars%2Fgravatar-140.png"},"comments":8,"body":"Let's say we have a model Foo::Bar\r\nnew/edit forms are submiting 'bar' params, but getAttributes method in MainController expects 'foo_bar' params.\r\nIt seems like adding:\r\n:as => @abstract_model.to_param.singularize.gsub('~','_')\r\n\r\nto form_for fixes the problem, but probably there is a cleaner solution.","assignee":null,"pull_request":{"patch_url":null,"html_url":null,"diff_url":null},"id":2132447,"number":815,"labels":[],"title":"can't create/update namespaced models","html_url":"https://github.com/sferik/rails_admin/issues/815","closed_at":null,"url":"https://api.github.com/repos/sferik/rails_admin/issues/815","milestone":null},"action":"created","comment":{"created_at":"2011-12-14T17:09:49Z","updated_at":"2011-12-14T17:09:49Z","user":{"gravatar_id":"1904e5011af15ca61fc1307c4736d61e","id":1089756,"url":"https://api.github.com/users/cthulhu666","login":"cthulhu666","avatar_url":"https://secure.gravatar.com/avatar/1904e5011af15ca61fc1307c4736d61e?d=https://a248.e.akamai.net/assets.github.com%2Fimages%2Fgravatars%2Fgravatar-140.png"},"body":"I didn't mention my model is in an isolated engine, because i didn't suspect it does matter, but now i took a glance at param_key method and it treats isolated engines that way... ","id":3144542,"url":"https://api.github.com/repos/sferik/rails_admin/issues/comments/3144542"}}