Skip to content

Instantly share code, notes, and snippets.

View scott1028's full-sized avatar
🏠
Working from home

scott1028

🏠
Working from home
View GitHub Profile
zh-TW:
admin:
home:
name: "網站首頁"
pagination:
previous: "« 前頁"
next: "次頁 »"
truncate: "…"
misc:
filter_date_format: "mm/dd/yy" # a combination of 'dd', 'mm' and 'yy' with any delimiter. No other interpolation will be done!
assets = params[:assets]
assets.each do |asset|
Asset.create(asset)
end