Get NISE! Remember what should be a get requests

so in the world of routes I sometimes get lost in what should do what so I came up with this silly acronym to help me remember what should be get request:

get NISE

N: new ‘/pigeon/new’

Screen Shot 2015-06-07 at 12.23.06 AM

I: index ‘/pigeons’

Screen Shot 2015-06-07 at 12.22.48 AM

S: show ‘/pigeon/1’

Screen Shot 2015-06-07 at 12.22.14 AM

E: edit ‘/pigeon/1/edit’

Screen Shot 2015-06-07 at 12.23.50 AM


I hope this helps some people.

I made a App… again!

So I have been working on this really cool idea for a app ever since Tim Holman came to speak to my class. I created a working prototype of my App. What the App does is gets the user latitude and longitude using the geolocator gem.

Screen Shot 2015-06-03 at 3.17.01 PM

After the app has your latitude and longitude it can now use the forecast io api to get the weather from where the user is based on the lat and long.

Screen Shot 2015-06-03 at 3.24.12 PM

This information is in a JSON that the application can now parse for all the goodies needed to give . With those goodies the app can find a relevant picture for a hash that I created with urls of images related to that weather and make a call to the gify api to find a nice gif to boot.

Screen Shot 2015-06-03 at 3.27.59 PM

Then on the rendered html the background is sent to the back and the gify is embedded in day’s description using Tim’s Giflinks.

Screen Shot 2015-06-03 at 11.01.39 AM