{"issue":{"state":"open","pull_request":{"diff_url":null,"html_url":null,"patch_url":null},"user":{"avatar_url":"https://secure.gravatar.com/avatar/f7a62f21b0e8b0351742803a2dbcd649?d=https://a248.e.akamai.net/assets.github.com%2Fimages%2Fgravatars%2Fgravatar-140.png","gravatar_id":"f7a62f21b0e8b0351742803a2dbcd649","url":"https://api.github.com/users/tlatim","login":"tlatim","id":294735},"milestone":null,"labels":[{"name":"Bug","color":"e10c02","url":"https://api.github.com/repos/gregbell/active_admin/labels/Bug"}],"updated_at":"2011-11-09T18:10:30Z","assignee":null,"comments":2,"closed_at":null,"url":"https://api.github.com/repos/gregbell/active_admin/issues/715","body":"\r\n1) The create/update button still uses the model name\r\n\r\n2) The BreadcrumbHelper::breadcrumb_links doesn't convert the parent 'something_else' to 'model' before looking up the record id.\r\n\r\nI put this in my .../app/admin/active_admin/view_helpers.rb to deal with the first issue:\r\n\r\n```ruby\r\nmodule ActiveAdmin\r\n  class FormBuilder\r\n\r\n    def commit_button(*args)\r\n      options = args.extract_options!\r\n      options[:label] ||= (self.object.persisted? ? 'Update ' : 'Create ') + AAViewHelpers.humanize(self.object_name)\r\n      content = with_new_form_buffer{ super(*args,options) }\r\n      form_buffers.last << content.html_safe\r\n    end\r\n\r\n  end\r\nend\r\n\r\nclass AAViewHelpers\r\n  class << self\r\n    include ActiveSupport::Inflector\r\n    include ActionView::Helpers::FormOptionsHelper\r\n    include ActionView::Helpers::FormTagHelper\r\n    include ActionView::Helpers::JavaScriptHelper\r\n  end\r\nend\r\n","html_url":"https://github.com/gregbell/active_admin/issues/715","title":"ActiveAdmin.register 'model', :as => \"something_else\" incompletely implemented","number":715,"id":2125936,"created_at":"2011-11-02T20:15:40Z"},"action":"created","comment":{"user":{"avatar_url":"https://secure.gravatar.com/avatar/409a0a488f974a77071c027ab5fea37f?d=https://a248.e.akamai.net/assets.github.com%2Fimages%2Fgravatars%2Fgravatar-140.png","gravatar_id":"409a0a488f974a77071c027ab5fea37f","url":"https://api.github.com/users/reger","login":"reger","id":190539},"updated_at":"2011-11-09T18:10:30Z","url":"https://api.github.com/repos/gregbell/active_admin/issues/comments/2684782","body":"This also affects renaming breadcrumb links with display_name on the model.","id":2684782,"created_at":"2011-11-09T18:10:30Z"}}