Author Archives: Laura
Doing a static page in Heroku with Ruby/Rack is a breeze. However, when we tried to create a page with tabs that would each link to different content, the URL at the top would be correct but nothing would happen. Turns out there’s a quick fix. The only difference I did was a tiny bit...Read More
One man’s crappy software is another man’s full time job.
- Jessica Gaston
The JQuery UI library is awesome for doing super cool stuff super quick. For example, a tabbed interface! Who wants to reload after you click on a tab? No one. Who wants to take ages to code it? No one. Therefore, welcome to TGC’s 5 minutes of code! 1. Make the tab links. Make sure...Read More
Don’t worry if it doesn’t work right. If everything did, you’d be out of a job. (Mosher’s Law of Software Engineering)
Parsing with Nokogiri is a breeze, especially if you’re super familiar with CSS selectors and you’re good at traversing the DOM. 1. First, you need to install the Nokogiri gem: gem install nokogiri If you are parsing something that lives remotely, you might want to include the open-uri module, which will make it even...Read More