sergibyte

How to make an AJAX call

Posted by in Coding, Javascript

An AJAX call is possibly one of the simplest and most useful things you’ll find when using JQuery and wanting to load some remote data (i.e. from an API) into your page without having to reload it. It’s something amazingly simple an easy, yet equally useful. In this example we are gonna get some data from an API at Randomuser.me, and print the name and surname of the user we get from it.

0

Ruby: Working with Arrays of Hashes

Posted by in Ruby

Last Thursday 21st July we had Lightning talks at our Barcelona on Rails meetup, this was basically a meeting where some of us could just share anything that we thought it was interesting in the Ruby/Ruby  on Rails world. When I started developing with Ruby, one thing that I found quite interesting was the methods it has to work with a very particular way of structuring data: the arrays of hashes. This is quite handy when getting data (or delivering it) through an API or in any case you may want…read more

0