HI Cameron,

Thanks for the suggestion. May I know how this initializer to get the
property from YAML looks like?

Thanks in advance.

On Thu, Mar 25, 2010 at 12:04 PM, Cameron Barrie
<[email protected]> wrote:
> Personally I'd make a YAML file and add an initialiser to put it in a 
> constant. Or even just a const in environment.rb
> application_helper won't be available to any of your models, so you'd hose 
> yourself if you decided to use it in the future outside of a view context.
>
> -C


-- 
http://twitter.com/scrum8

-- 
You received this message because you are subscribed to the Google Groups "Ruby 
or Rails Oceania" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/rails-oceania?hl=en.

Reply via email to