I have a constant.rb file in lib/ with:
FOO = %w( tastes great)
BAR = %w( less filling)
I’m able to access the constants fine in my Model, but I’m also using
them to populate select boxes in a view and can’t figure out how to
make them available to the view.
class ApplicationController < ActionController::Base
as well as the same thing in the specific controller whose method is
calling the offending action.
Any advice on where to require the module? Thanks,