Skip to content

Instantly share code, notes, and snippets.

@aya-soft
Created December 14, 2016 12:08
Show Gist options
  • Save aya-soft/64dc0f6d6cb83a832c7ef251bfe791d6 to your computer and use it in GitHub Desktop.
Save aya-soft/64dc0f6d6cb83a832c7ef251bfe791d6 to your computer and use it in GitHub Desktop.
Для генерации XML в rails используется builder https://richonrails.com/articles/outputting-xml-using-ruby-on-rails
def spares_for_yandex
@spares = Spare.available_for_purchase
end
@romhi
Copy link

romhi commented Dec 27, 2016

Сделал, так как файлы специфические намудрить пришлось ))).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment