Skip to content

Embed URL

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Security Article Part 3 - 14
module DataHelper
def data_to_table(data)
content_tag :table do
data.map do |row|
content_tag :tr do
row.map {|cell| content_tag :td, cell}.reduce(:<<)
end
end.reduce(:<<)
end
end
end
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Something went wrong with that request. Please try again.