Top "Helpers" questions

Additional functionality not defined in a class that the helper operates on.

CakePHP select default value in SELECT input

Using CakePHP: I have a many-to-one relationship, let's pretend it's many Leafs to Trees. Of course, I baked a form …

php cakephp relationships helpers cakephp-2.x
"undefined method" when calling helper method from controller in Rails

Does anyone know why I get undefined method `my_method' for #<MyController:0x1043a7410> when I call my_…

ruby-on-rails helper helpers applicationcontroller
conditional on last item in array using handlebars.js template

I am leveraging handlebars.js for my templating engine and am looking to make a conditional segment display only if …

javascript arrays helpers handlebars.js templating
Rails- nested content_tag

I'm trying to nest content tags into a custom helper, to create something like this: <div class="field"> &…

ruby-on-rails ruby-on-rails-3 helpers
Calling a helper class in Magento

I'm trying to create a custom helper module in Magento but I'm getting the following error when I call it …

php magento e-commerce helpers
How do I make global helper functions in laravel 5?

If I wanted to make a currentUser() function for some oauth stuff I am doing where I can use it …

php laravel-5 blade controllers helpers
Why are all Rails helpers available to all views, all the time? Is there a way to disable this?

Why can I access helper methods for one controller in the views for a different controller? Is there a way …

ruby-on-rails ruby helpers
Laravel 5.2 pluck() multiple attributes from Eloquent Model Collection

Laravel 5.2 has pretty nice Helpers, I would like to use them to do following: I have Eloquent Model Collection: $lesson-&…

laravel-5.2 helpers laravel-collection
Is it possible to nest helpers inside the options hash with handlebars?

For instance, is there a way to nest my "i18n" helper inside another helper's hash variable? {{view "SearchView" placeholder="{{…

templates backbone.js handlebars.js helpers
System.Web.Helpers not found in VS2015

I'm trying to add some JSON parsing to the C# code in VS2015 but I can't find: System.Web.Helpers …

c# visual-studio-2015 helpers