{"test_url"=>"http://test.com/123.jpg"}
is my output from
<% @results.each do |t| %>
<%= t.image.extract!("test_url") %>
<% end %>
How can i just get the contents of test_url? so http://test.com/123.jpg
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
#extract! always deletes and returns the key/value pairs for the given key from the Hash.
To delete and only return the value:
or, if you just want to get the value: