Top "Helper" questions

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

Rspec 2 config :type types

In my spec_helper.rb I have config.include Devise::TestHelpers, :type => :controller so that I can actually test …

configuration devise helper rspec2
rails: fields_for select

In a view that I have, I am using fields_for to display form data for a relational table. However, …

ruby-on-rails select helper
Strange error in rails - missing helper

I am not sure , but this might be associated with a crashed computer. After restarting (after the crash) I get …

ruby-on-rails-4 schema helper
Communicate with another app using XPC

I have a windowed app, and to add some functionality I need another app which launches at login and sync …

macos cocoa helper xpc
Check if Model is valid outside of Controller

I have a helper class that is passed an array of values that is then passed to a new class …

c# asp.net-mvc-3 model helper
Is the word "Helper" in a class name a code smell?

We seems to be abstracting a lot of logic way from web pages and creating "helper" classes. Sadly, these classes …

class language-agnostic helper naming
Rails console - use image_tag method

How can I execute a image_tag method in a Rails console Run the console $ rails c Load helpers include …

ruby-on-rails helper irb actionview actionviewhelper
zend framework flash messanger message and redirect

So i am creating a project using zend-framwork and i am trying to implement the flash messenger helper but i …

zend-framework action helper flash-message
Best way to handle view and helper-only constants in Rails

I have a constant that is only used in views, but it's used in different ways in different places. It's …

ruby-on-rails view constants dry helper