# Declarative authorization rules filename

**URL:** <https://www.ruby-forum.com/t/declarative-authorization-rules-filename/190076>\
**Category:** Rails\
**Created:** [June 13, 2010, 2:38pm UTC](https://www.ruby-forum.com/t/declarative-authorization-rules-filename/190076 "2010-06-13T14:38:53Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![philostler](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/p/dbc845/32.png) [@philostler](https://www.ruby-forum.com/u/philostler)\
**Post date:** [June 13, 2010, 2:38pm UTC](https://www.ruby-forum.com/t/declarative-authorization-rules-filename/190076/1 "2010-06-13T14:38:53Z")

</div>

Hi,

The declarative authorization gem looks for it’s rules by default in a  
file named authorization\_rules.rb within config.

I want to change the name of the rules file but can’t find a way in the  
docs to tell declarative authorization to point at a different location  
short of reassigning the AUTH\_DSL\_FILE constant which throws a warning.

What is the correct way of doing this?

Cheers, Phil
