Should I put constants for my Rails project in environment.rb?

Posted by Chad Johnson on Stack Overflow See other posts from Stack Overflow or by Chad Johnson
Published on 2010-04-08T16:49:08Z Indexed on 2010/04/08 16:53 UTC
Read the original article Hit count: 296

I want to store a path for a special directory used by my Rails application. Should I store that in environment.rb, or is there another place this is meant to go?

THE_DIRECTORY_PATH = '/path/to/directory'

© Stack Overflow or respective owner

Related posts about ruby-on-rails

Related posts about best-practices