require 'json'
res = JSON.parse(json_string)
res['feeds']
#[
# [0] {
# "created_at" => "2016-04-28T06:17:20Z",
# "entry_id" => 139303,
# "field3" => "13.1",
# "field4" => "753.73"
# },
# [1] {
# "created_at" => "2016-04-28T06:18:20Z",
# "entry_id" => 139304,
# "field3" => "13.1",
# "field4" => "753.72"
# }
#]
Rails.application.routes.draw do
scope :blog do
root 'main#index'
devise_for :users
resources :post
# ваш оставшийся код
end
end
rails new myapp -m https://raw.github.com/RailsApps/rails-composer/master/composer.rb