Module: ActionView::Helpers::ActiveModelInstanceTag

Defined in:
lib/acts_as_subscription/subscription.rb

Overview

:nodoc:

Instance Method Summary collapse

Instance Method Details

#error_messageObject

:nodoc:



257
258
259
260
261
262
# File 'lib/acts_as_subscription/subscription.rb', line 257

def error_message
  # Original :
  # object.errors[@method_name]
  # Patched :
  object.errors[@method_name] || []
end