Ruby on Rails



TEDxPURPLEWORKS
November 13, 2013

    RUBY ON RAILS #2


    • with yeoman
    • active model
    • parameter

    YEOMAN

    MODERN WORKFLOWS FOR MODERN WEBAPPS

    • yo - scaffolds, file helper
    • grunt - task = build/preview/test/dist
    • bower - dependency manager
    • nodejs!


    active record


    • Create
      • save
    • Read
      • all
      • first
      • find_by_*
      • where
    • Update
      • save
      • update
    • Delete
      • destroy

    parameter


    • params[:name]
    • params[:model_name][:column_name]
      • security!!
      • permit parameter

    angularjs with yeoman






    live coding
    Made with Slides.com