Posts by Victor • 47 points
8 posts
-
-2
votes1
answer343
viewsQ: Control CSS dynamically via PHP
I am developing a site, and also a content manager for him, in the manager I control the images of the site and the texts, I wonder if there is any way for me to control the font color and the font…
-
0
votes1
answer141
viewsA: Nomethoderror: Undefined method `Empty? ' for #<URI::HTTPS:0x000000063069d8>
I managed to solve, just add the following code: http.use_ssl = true Below this line : http = Net::HTTP.new(url.host, url.port)
-
0
votes1
answer141
viewsQ: Nomethoderror: Undefined method `Empty? ' for #<URI::HTTPS:0x000000063069d8>
I am making a REST request but while executing I have this error: NoMethodError: undefined method `empty?' for #<URI::HTTPS:0x000000063069d8> My code: require 'net/http' require 'uri' def…
-
0
votes3
answers430
viewsA: Return method in Java
Call the method and assign it to a variable: x = Base10(String num) Soon 'x' will receive the return of the method;
-
0
votes2
answers736
viewsQ: How to make an HTTP request in Ruby?
How do I request HTTP in Ruby? I need to implement an API, and for that it is necessary to make a REST request for such a URL, as I do a POST for such a request?
-
1
votes1
answer61
views -
2
votes1
answer134
viewsA: Run a Ruby on Rails application locally Heroku
To settle, I went rake db:reset
-
-3
votes1
answer134
viewsQ: Run a Ruby on Rails application locally Heroku
I have a Ruby on Rails app hosted on Heroku. It has a login system on the home screen that redirects the customer (in this case me) to the other features of the account. When I run it locally, (be…