$ .AJAX Jak odczytać Data Vale w kontrolerze w szynach
def test
some_parameter = params[:some_parameter]
# do something with some_parameter and return the results
@test=books.find.last
respond_do |format|
format.html
format.json {render json: @test}
end
end
Glorious Gemsbok