Adventures in Programming


My experiences as a Learn student and a growing developer.


Submitting Images (and non-string form data) via AJAX

In a recent project, I changed my create action to submit as a post with AJAX, rather than a traditional rails create with a page a refresh. For the most part this was a simple change. In my javascript, I did the following:


Rails and Javascript Portfolio Project

For this project I was excited to expand on my last rails project and add jQuery and AJAX. I started by looking for where it made sense to add ajax to my application and then eventually ended up picking areas that would work best to meet the project requirements. Here’s how I implemented each requirement into my existing project. To check out the code, see my repository here.


Rails Portfolio Project - Apartment Manager

For my rails portfolio project, I build an Apartment Manager app (can be found here). My original goal was to build an app with multiple user roles: landlord and tenant. Then I would build different sections of the app available to each users’s role. As I began implementing the landlord fuctionality, I realized that the tenant half the app wasn’t needed at this time, but I’ve left the tenant model and associations within the app in case I chose to expand it later.


Sinatra Portfolio Project - CRUD Application

For my Sinatra portfolio project, I created a travel site. A user can sign up for my site and then create new travel destinations as well as view destinations created by other users. They can also edit their own destinations. Every travel destination also has many activities.