title: How to allow only Admin (or some user) to edit the pages in Rails?
body: <p>I have a scaffold Finances and I just realized that it can be edited by any logged in user by going to /finances/1/edit </p>
  
  <p>I have installed activ_admin gem but I don't think it is what I need. How to make sure other than admin (or may be some users) no one can edit finances resource type- I </p>
  
  <p>EDIT - I found <a href="https://github.com/EppO/rolify" rel="nofollow">https://github.com/EppO/rolify</a>, is this best option or I still can do something better as it may be overkill ? </p>
  
  <p>EDIT 1 - I went through this <a href="https://github.com/EppO/rolify/wiki/Tutorial" rel="nofollow">https://github.com/EppO/rolify/wiki/Tutorial</a> and have assigned role "admin" to user = User.find(1), everything went well upto "ability.can? :manage, :all" in console, which shows TRUE for user 1 and false for other users. Now I am not able to figure out what to do ? I can still see all users being able to edit the page even though I have added "resourcify" in the finance.rb model. Any help ? </p>