In this post I'm going to walk through a skeleton app with basic functionality to create nested forms, which enable the creation of new objects in multiple models at the same time. For the example application, we'll create a workout tracker with a form that can create workouts and the specific exercises within that workout.
RubyGem acts_as_votable Tutorial
Reddit. Quora. ProductHunt. What do all of these websites have in common? Besides their rabid fan bases, they enable a community to interact with content via simple voting buttons that users can click on to promote or demote content. Luckily for Ruby developers, there's an awesome gem I came across this week that quickly builds the same functionality. Here's a tutorial on how to get started with acts_as_votable.
Javascript: Make Elements Appear On Scrolling
If you've used the internet recently, you've probably noticed a design trend popular on app landing pages, personal websites, and all kinds of other websites: elements that are animated to appear on the page when you scroll to that point. Although it appears fancy, this effect is ridiculously easy if you utilize a little bit of javascript and two external frameworks. Let's walk through creating a simple animated webpage from scratch.
FitBit on Rails
Ruby's Enumerable Module
Ruby's enumerable module consists of a number of helpful methods to write tight code when manipulating collections of data like arrays and hashes. Although the formal documentation contains a great overview of all the methods, it can be daunting to sift through which ones are actually useful and how to implement them. Let's explore some of the best right here!
Fibonacci Algorithm in Ruby
Over the course of the last few weeks, I’ve been diving into the wide world of algorithms. Although they can be intimidating at first, constructing algorithms is just the coding version of solving a puzzle, which activates the creative problem-solving capacity of your brain and can actually become quite fun.
DIY Authentication in Rails
How To Import CSV Files In Rails
How to Make a Twitter Bot in Ruby on Rails
This week, I'm going to walk through the steps to start automating a Twitter account to perform a variety of useful functions using the Twitter API. You can also view these instructions in the readme file of my Github Repository. If you're not interested in the code, you can just skip to the bottom to see what the bot does.
Fivily: Database Structures & API Consumption
Ruby On The Beach: Week 5
Coding in a team environment is an invigorating process, as each member contributes unique ideas and knowledge, enabling the group to create something much stronger than the sum of our individual skills. Although our group was met with an exceptional number of new challenges this week, we were ultimately able to build progressively more complicated functionality into the application.
Ruby On The Beach: Week 4
Ruby On The Beach: Week 3
One of the coolest aspects about reaching this milestone in the course is we were now able to tackle larger projects within small groups. This environment led to a lot of knowledge sharing, and I enjoyed picking up coding techniques and product management strategies from my peers within the cohort. Programming is hardly ever an individual undertaking, so it was a great experience to understand how folks with different backgrounds, skills, and mindsets approach solving the same problems.
Ruby On The Beach: Week 2
Just two weeks in to the Ruby On The Beach bootcamp experience, it's incredible to look back at the software concepts I was struggling with ten days ago and laugh at my own naiveté. Although my goal of becoming a bona fide programmer is undoubtedly still far away, it feels great to make progress every day and I've undoubtedly traversed a massive amount of material already.
Ruby On The Beach: Week 1
"All life is an experiment. The more experiments you make, the better."Ralph Waldo Emerson
For the next nine weeks, this blog will adopt a decidedly different flavor compared to my previous travel writing. During this time I'll be a student at Ruby On The Beach bootcamp, learning software development while living in Ubud, the cultural and artistic capital of Bali, Indonesia. This is ultimately an intellectual experiment in pushing the limits of what I'm mentally capable of, and I'm excited for what's to come.
Achieve Anything with Lift
If you were to scroll through the top charts of the Health and Fitness category in either Apple or Google's app stores, you would find much repetition. Many of the apps accomplish the same goals, whether that be tracking your steps, helping you count calories, or providing a workout companion while at the gym. But there’s one app that is on a mission to do so much more: unlock human potential. Lift is an app that helps you achieve your goals through tracking, community, and coaching.