code4startup Project!

Started a project in code4startup. Its a video tutorial to walk through the develop app like AirBnb. So far liking it. Only problem I found is its not very detail oriented. For example, when it asks to add you something to the code, it doesn’t explain the details. The tutor gives you a link to where to read the details. Other than that, its a good start for me to start coding. So far, I set up the project with bootstrap and an authentication system with Devise. My plan to build this project along with the tutorial this month. And then start my own project form December.

Rails 4 Way!

I started reading Rails 4 Way by Obie Fernandez, Kevin Faustino and Vitaly Kushner, as a part of my study to revisit ruby on rails, as I am not working for one and half years. I have finished one chapter today and so far very much liked the way it started and going. Its a bit advanced not like a beginner book. Its started with the most important thing that Rails offer: conventional over configuration. So, the first chapter mostly talked about bundler, gemfiles, all environment files, initializer, logs etc. This is a summary of the first chapter: some lines copied from the book:

  • bundle install will install all the gems and their dependencies found in Gemfile and update Gemfile.lock to lock whats installed. (Every time you install or update, Bundler calculates the dependency tree for your application and stores
    the results in a file named Gemfile.lock)
  • All the gems can be packaged by bundle in the vendor/cache directory inside the Rails application so that no need to connect to rubygems.com
  • There are three files involved in setting up the entire Rails stack:
    • boot.rb: sets up Bundler and load paths
    • application.rb: loads rails gems, gems for the specified Rail.env, and configures the application
    • environment.rb: runs all initializers
  • To speed up the boot time of starting a Rails server during development, code is no longer eager loaded. This behavior is governed by the config.eager_load setting:
    • config.eager_load = false
  • Caching is false in development mode
    • config.action_controller.perform_caching = false

This chapter has very detailed information on all different kind of configuration, also the one we can separate for each environments.

Lets be back!!

I was disappeared for a while, and I have some very valid reasons 🙂 I had two kids in last three years. My son is now 2 years old and my daughter is 3 months old 🙂 so, you can imagine the stress and all new responsibilities. I have my fun moments but so far its mostly a lot of work. So, I am stressed almost all the time! Things are getting better slowly.

I am not working for last one and half year to take care of the kids. But I am planning to go back to work soon, so started revisiting my old projects and building some new to refresh my memory. I will try to keep an update here from now on. With two its really hard to study, look for jobs and get the time to blog, but I will try. Hope I am motivated and manage the time to update!