Instance Variables Javascript Ruby On Rails 4 How To Get Rails Controller Variable In Js File March 03, 2024 Post a Comment I have a variable in rails controller like def index @approveflag = true end I need to access this… Read more How To Get Rails Controller Variable In Js File