Showing posts with label gem. Show all posts
Showing posts with label gem. Show all posts

Wednesday, 5 February 2014

WDI Progress Update - Production, Bootstrap, CSV migrations

Challenges:
  • App exploded when tried to install bootstrap, used Heroku clone to recover
  • Searching databases and filtering selections
  • Resolved absolute file paths not being recognised when uploading to Heroku. Fixed data migration files and relocated CSV files to the root directory. Compiled successfully with this code:
require 'fileutils'require 'csv' 
class AddIdeaData < ActiveRecord::Migration
  def up
filepath = Rails.root.join("ideas.csv")
# locate the csv file in your /public folder if File.exist?(filepath) CSV.foreach(filepath)do |col| Idea.create(:name => col[0].to_s, :description => col[1].to_s, :author => col[6].to_s, :url => col[7].to_s, :country => col[8].to_s) end else  raise "No file exists with name: #{filepath}" end  end
  def down   Idea.all.destroy # only with team permission  end
end

                                                Progress @ General Assembly (GA):
                                                • Rails (Authentication vs Authorisation, Static page controller, Custom controller methods using routing collections and members, Hidden form fields)
                                                • Production (Heroku)
                                                • Gems (Sanitise for customising Devise Authentication, Rails_12factor for production and images on Heroku)
                                                • Agile (Daily Scrum meetings)
                                                • Bootstrap themes


                                                Contributions to Developer Community 
                                                • Exciting ideas and concepts explored with the The Slippery Gypseas!
                                                • Sydney Tech Startup Meetup on 6th Feb

                                                Curious:
                                                • Cancan (Authorisation)

                                                Sunday, 26 January 2014

                                                WDI Progress Update - Ruby, Sinatra, ActiveRecord, Sinatra, PostGreSQL, Rails MVC

                                                Challenges:

                                                1. Validations, SMTP
                                                2. Homework bugs!!! 
                                                3. Data Validation with ActiveRecord
                                                Progress @ General Assembly (GA)
                                                • Sublime Text 2 (Shift-CMD-R align multiple text lines, CMD+? to comment multiple lines)
                                                • Ruby (Object Relationship Mapping ORM)
                                                • Rails (Model View Controller MVC architecture, Deployment to Production using Heroku with GemFile, Scaffolding with database rake migration entire CRUD apps)
                                                • Ruby Gems - (ActiveRecord, ActiveRecord Associations, HATM, Callbacks, PostGreSQL, Validations, Bundler for deployment)
                                                • SQL (PostGres app, commands, tables, joins, foreign keys, CRUD)
                                                • Tapestry Presentation on Front-End Development by Phil Reither
                                                Progress @ Intro to Startup Entrepeneurship
                                                • Unit 1 finished on 27th Jan !! Next steps: 
                                                  • Unit 1 - Lesson 7 Independent study activities, participate in online forum, create app based on learnings
                                                  • Unit 2 - UX, can't wait to start!!
                                                Events:
                                                • Attended meetup Startup Sydney on 23rd Jan @GA
                                                Curiosity:
                                                • Tank Stream Labs (startup community)
                                                • Behavioural retargeting
                                                • Gamification
                                                • RescueTime
                                                • StrongLoop
                                                • Grails
                                                • Universal design principles (accessibility): Haptics, Tactus, Web Content Accessibility Guidelines
                                                • The World is Flat, Thomas Friedman
                                                • Trends API
                                                • CSS animations
                                                • WebGL
                                                • WebM format
                                                • Paralax
                                                • Caniuse.com (compatibility checker)
                                                • Flinto.com (IOS Prototypes, Wireframing)
                                                • Railcasts
                                                Off Topic:
                                                • Magna Carta

                                                Saturday, 18 January 2014

                                                WDI Progress Update - Ruby, Sinatra, FileUtils, HTTParty, HTML5, CSS3

                                                Challenges:
                                                1. Ruby Koans
                                                2. Pony gem (SMTP)
                                                3. Error handling
                                                4. GA Pre-work
                                                5. Emmet.io
                                                6. ice Tree
                                                7. Wordpress
                                                8. Heroku
                                                9. Evernote
                                                10. Meta programming (multmaker) 
                                                11. Ruby Warrior
                                                12. VIM commands
                                                13. Stackoverflow
                                                14. Github
                                                15. Google Adsense
                                                16. DevOps
                                                17. Project Euler problems
                                                Progress @ General Assembly (GA)
                                                • Installfest
                                                • Github Homebrew Package Manager 
                                                • Sublime Text 2 (shortcuts, binding)
                                                • Ruby (embedded Ruby files, Ruby API's, data types, conditionals, loops, arrays, hashes, methods, classes, inheritance, exceptions, objects, aliasing, interactive Ruby shell, pry debugging, enumerables, blocks, procs, lambdas, server-side scripts, file and IO classes, file utilities, file pointers, closures, caching, set theory, handling CSV files, handling JSON, HTTP verbs and errors, curl, Sinatra gem and reloader, cat, stash, preferential execution with File__ == $0)
                                                • Ruby Gems - HTTParty, FileUtils, Sinatra app and reloader
                                                • Ruby Modules - YahooFinance
                                                • API's - OMDb
                                                • HTML5 (form fields, responsive)
                                                • CSS (stylesheet use options [import, inline, header], separation of concerns, cascading, descendants, selectors, blocks, properties, fonts, semantic classes, ID's, reset stylesheets, tags, Twitter Bootstrap, incompatibilities reset stylesheets, anchors, spans, blocks, inline, wildcards, link states, pseudo class selectors, positioning, DRY principle)
                                                • Apple Macbook Pro usage
                                                Events:
                                                • Signed up to attend Ruby Conference Australia (Feb 2014) 
                                                • Attended meetup Ruby on Rails Oceana  (ROROSyd)
                                                Future Wants:
                                                • UX @ GA 
                                                • UX tools 
                                                • Volunteer at GA or Fishburners 
                                                • Attend Sydney Business Angels, Sydney Tech meetups
                                                • Attend a Rails Camp @railscamp_au 
                                                • Continue attending Sydney Mobile Developers, and ROROSyd meetups 
                                                • Continue Adobe Creative Suite usage
                                                • Continue Lynda training
                                                • Installfest Ubuntu
                                                • Apply MBT learnings
                                                • Books: Agile Web Development with Rails
                                                Curiosity:
                                                • Apiary, DEP, Audited/PaperTrail, Activerecord gems - (ROROSyd)
                                                • Bundler, Travis CI - (ROROSyd)
                                                • TDD/BDD
                                                • Erlang VM, Elixir, Openresty, Heckle and RSpec
                                                • Concurrency and immutability in languages