class ActionView::Helpers::Tags::Base

TODO: Find a better way to solve this issue! This patch is needed since this Rails commit: github.com/rails/rails/commit/c1a118a

Private Instance Methods

value() click to toggle source
# File lib/ransack/helpers/form_builder.rb, line 10
def value
  if @allow_method_names_outside_object
    object.send @method_name if object && object.respond_to?(@method_name, true)
  else
    object.send @method_name if object
  end
end