title: How can i get possible attr_accesible attributes in a view?
body: <p>Since it is possible to define attr_accesible with a role <code>attr_accessible :name, :as =&gt; :admin</code> how can i get all attr_accesible attributes in a view for a specific role?</p>
  
  <p>With this information it would be possible to show a custom view form.</p>
  
  <p><a href="http://apidock.com/rails/ActiveModel/MassAssignmentSecurity/ClassMethods/attr_accessible" rel="nofollow">http://apidock.com/rails/ActiveModel/MassAssignmentSecurity/ClassMethods/attr_accessible</a></p>