Question: I am customizing Rails Admin : <https://github.com/sferik/rails_admin> , i need to disable/hide "Add new" option for some model.

![enter image description here](https://i.stack.imgur.com/BnswF.png)

Any help will save lot time for me. Thanks in advance

Answer: 
I use the following to achieve this on a specific model. Hopefully, this helps: 

```
config.actions do
  new do
    except ['Some Model']
  end
end

```
Implemented it with Cancan. You can refer to above answer to do it in rails admin way.

URL : <https://github.com/sferik/rails_admin/wiki/CanCan>