Hi all,
I have a file in config/initializers that specifies plan types. The file is:
Hi all,
I have a file in config/initializers that specifies plan types. The file is:
In my account signup controller, I call:
@plan_cost = APP_PLANS.[@plan_name]["Price"]
but I get an error:
uninitialized constant ClientsController::APP_PLANS
So what am I doing wrong here? Why can't I get to the variable I initialized???
Did you restart the server after adding/changing this initializer ?
Fred