![]() |
|
Rails Help - Printable Version +- Hack Forums (https://hackforums.net) +-- Forum: Tech (https://hackforums.net/forumdisplay.php?fid=444) +--- Forum: Webmasters (https://hackforums.net/forumdisplay.php?fid=141) +---- Forum: Website Construction (https://hackforums.net/forumdisplay.php?fid=50) +---- Thread: Rails Help (/showthread.php?tid=4602738) |
Rails Help - cortland12 - Dec 25, 2014 I would like to be able to type the latitude and longitude and it renders into the method and renders the page. For example: In my controller I have: Code def indexIt generates a list of instagram photos in that area based on those coordinates, of course. But I want to make a form where I enter in 2 parameters and it generates itself. If that make sense. What I have: [img]http://s24.postimg.org/j6rjwx4sx/photo.jpg[/img] Also, sorry if this is worded strangely. It sounds correct in my head, I just suck at wording things. Can anyone give me some pointers, or give me something that'll lead me in the correect direction? Thank you in advance also. |