Flowdock
method

to_formatted_s

Importance_0
v1.2.6 - Show latest stable - 0 notes - Class: ActiveSupport::CoreExtensions::Array::Conversions
to_formatted_s(format = :default) public

No documentation

This method has no description. You can help the Ruby on Rails community by adding new notes.

Hide source
# File activesupport/lib/active_support/core_ext/array/conversions.rb, line 34
        def to_formatted_s(format = :default)
          case format
            when :db
              if respond_to?(:empty?) && self.empty?
                "null"
              else
                collect { |element| element.id }.join(",")
              end
            else
              to_default_s
          end
        end
Register or log in to add new notes.