to_formatted_s(format = :default)
Instance Public methods
Extends Array#to_s
to convert a collection of elements into a
comma separated id list if :db
argument is given as the
format.
Blog.all.to_formatted_s(:db) # => "1,2,3"
Extends Array#to_s
to convert a collection of elements into a
comma separated id list if :db
argument is given as the
format.
Blog.all.to_formatted_s(:db) # => "1,2,3"
Please login to continue.