Running rake routes
with a new rails application displays no information.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
def download_zip(image_list) | |
unless image_list.blank? | |
file_name = 'pictures.zip' | |
stringio = Zip::ZipOutputStream::write_buffer do |z| | |
image_list.each do |img| | |
title = img.title | |
title += '.jpg' unless title.end_with?('.jpg') | |
z.put_next_entry(title) |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# 02.03.2016 Перевод gem rails_admin ~> 0.8 | |
# Не забудьте добавить переводы названия модели (в т.ч. мн. ч.) и - опционально - атрибутов. | |
# Некоторые переводы, где нужны склонения, видоизменены, тем не менее, имхо, | |
# это не повлияло на удобство интерфейса | |
ru: | |
admin: | |
js: | |
true: 'True' | |
false: 'False' |