Share
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
TLDR
Long version
I’m covering how I discovered this information and what the declarations look like.
The How:
Relevant source from that file:
So
helpersis just an alias forApplicationController.helpersThe procedure for finding the source of
appis similar. Here’s the relevant source:So
appin the console is an alias for@app_integration_instance, which I can verify is available in controllersIs it good practice to use these inside an application? Probably not.
Is this a way to get quick-and-dirty access to Rails view helpers and renderers? I think so.