gem install rails If you have Ruby installed: To install Ruby on OS X: 1. Install Homebrew 2. brew install rbenv ruby-build To install Ruby on Linux: \curl -sSL https://get.rvm.io | bash -s stable --ruby --rails
What I will be talking about 1. Ruby syntax 2. Basic Rails What I won’t be talking about: 1. Design 2. Patterns 3. Good practices Basic concepts = slides Everything else = examples
Classes public: default value, accessed by anyone protected: method can be accessed by the class or subclasses private: method can only be accessed by the class
External libraries (gems) are imported into your project. Can have specified versions, minimum version, etc. Can Should be divided into groups Not necessarily Rails-exclusive Gemfile