SlideShare a Scribd company logo
Intro to Ruby on RailsJason Noblehttp://jasonnoble.orgAlan Hechthttp://alanhecht.me
Slides are availablehttp://slideshare.net/jasonjnoble/Intro to Rails Give Camp AtlantaFinished code is also availablehttps://github.com/jasonnoble/givecampatl-rails-demo
Intro to Rails Give Camp Atlanta
HistoryInitial Release July 2004Written by David Heinemeier HanssonRails 3.0 released August 29, 2010

Recommended for you

Ajax on drupal the right way - DrupalCamp Campinas, São Paulo, Brazil 2016
Ajax on drupal the right way - DrupalCamp Campinas, São Paulo, Brazil 2016Ajax on drupal the right way - DrupalCamp Campinas, São Paulo, Brazil 2016
Ajax on drupal the right way - DrupalCamp Campinas, São Paulo, Brazil 2016

This document provides an overview of using AJAX on Drupal, including: - What the AJAX API is and how it works through commands to dynamically update content without page refreshes - How to use it with forms to reload fields or content through callbacks - Attaching JavaScript behaviors to allow AJAX functionality - Creating custom commands to extend its capabilities - Triggering AJAX requests without forms by linking or instantiating AJAX objects - New features in Drupal 8 like improved commands and documentation

ajaxdrupaldrupal 7
Plugins unplugged
Plugins unpluggedPlugins unplugged
Plugins unplugged

This document discusses plug-ins for Oracle Application Express (APEX) applications. It describes the different types of plug-ins, including item, region, dynamic action, process, authentication, and authorization plug-ins. It provides details on when to use plug-ins, the skills needed to build them, and their common structure. Plug-ins can add additional declarative functionality to APEX and help hide complexity, improve reusability and maintainability. The document also provides guidance on creating plug-in render functions and using APEX APIs for assets, JavaScript, and AJAX callbacks.

oracle application expressplug-insoracle
Testing C# and ASP.net using Ruby
Testing C# and ASP.net using RubyTesting C# and ASP.net using Ruby
Testing C# and ASP.net using Ruby

This document discusses using Ruby testing techniques with C# and ASP.NET. It begins by explaining how the mindset and practices of Ruby testing, such as test-driven development (TDD) and behavior-driven development (BDD), can be applied. It then provides examples of writing Ruby-style tests for C# code using tools like RSpec and describes testing strategies like sharing examples across tests. The document advocates an outside-in approach of writing acceptance tests first before unit tests.

qconlondonqconqconlondon2010
Technical OverviewModel-View-Controller (MVC) architectureIncludes scaffolding to automatically construct the models and views needed for a basic siteIncludes WEBrick, a simple Ruby web serverIncludes Prototype and Script.aculo.us JavaScript libraries for AjaxRESTful web services used instead of SOAPHandles HTML and XML output out of the box
Framework StructureActiveRecord – Object relational mapping system for database accessActiveResource --  Web ServicesActionPackActiveSupportActionMailerLots of plugins available
PhilosophyConvention over ConfigurationDecreases decisions that developers need to makeBy doing things the “standard” way it just worksDon’t Repeat yourself (DRY)Every piece of code has a single, unambiguous authoritative representation within a systemModifying any single element does not change other logically-unrelated elementsUse methods and subroutines to abstract out pieces of code called in multiple places
InstallingInstall Ruby and RubyGemsGems are a Ruby package formatgem install railsRails works with SQLite out of the boxMySQL, PostgreSQL, Oracle, MS SQL gems available

Recommended for you

RoR 101: Session 2
RoR 101: Session 2RoR 101: Session 2
RoR 101: Session 2

This document provides an overview of building web applications with Ruby on Rails. It discusses the core components of a Rails app including models, views, controllers, and database migrations. It also covers generating scaffolds, ActiveRecord queries in the console, embedded Ruby syntax in views, layouts, and view helpers. The goal is to explain the anatomy and basic functionality of a Rails application.

ruby on railsweb design and development
Telling Stories With RSpec
Telling Stories With RSpecTelling Stories With RSpec
Telling Stories With RSpec

This document discusses using RSpec and behavior driven development (BDD) to write specifications and tests for software. It covers writing user stories with a Given-When-Then structure to define scenarios and test the full software stack. Examples are given of using RSpec matchers and Webrat to specify and test user interface elements and behavior. The process of writing a story, implementing the code, and running tests is also outlined.

rubybehaviourdriven
jQuery Mobile Workshop
jQuery Mobile WorkshopjQuery Mobile Workshop
jQuery Mobile Workshop

This document summarizes a workshop on building a product shopping application using jQuery Mobile. It describes creating an account on Codiqa to build the application interface, making an AJAX call to populate a list view with product data from an API, and uploading the application to Google App Engine so it can be accessed from mobile devices. Code examples are provided for resetting the list view, adding individual product items to the list, and configuring the App Engine deployment.

jquery mobileprogrammingworkshop
Installing RailsWindowshttp://pragmaticstudio.com/blog/2010/9/23/install-rails-ruby-windowsOS Xhttp://pragmaticstudio.com/blog/2010/9/23/install-rails-ruby-macLinuxMost of http://pragmaticstudio.com/blog/2010/9/23/install-rails-ruby-mac will work
Let’s build a shopping cartrails new demo_appvi demo_app/.rvmrcrvm –create use 1.9.2@rails3cd demo_apprails serverhttp://localhost:3000gitinit .git add .git commit –m ‘Initial rails app’
Push App to Herokuvi GemfileAdd “gem heroku” linebundle installheroku creategit push –u heroku masterheroku open
Product ScaffoldingAdd a CRUD (create, read, update, delete) interfacerails generate scaffold Product title:stringdescription:textimage_url:stringprice:decimalcreates db/migrate/20110108190442_create_products.rb

Recommended for you

Rapid Application Development with CakePHP 1.3
Rapid Application Development with CakePHP 1.3Rapid Application Development with CakePHP 1.3
Rapid Application Development with CakePHP 1.3

The document discusses how to use CakePHP, an open-source rapid application development framework, to quickly build a prototype application within an hour. It outlines the steps to install necessary software, generate database tables and model/view code using CakePHP's bake tool, and add features like authentication. The goal is to demonstrate how CakePHP allows rapidly deploying applications through conventions, code generation, and other features that reduce configuration overhead.

cakephpphpmemphisphp
RoR 101: Session 6
RoR 101: Session 6RoR 101: Session 6
RoR 101: Session 6

The document discusses setting up authentication for a Rails application using Devise, implementing the asset pipeline to concatenate and compress CSS and JavaScript assets, adding AJAX functionality through remote links and JavaScript responses, handling orphaned dependent objects, and creating a view helper to display Gravatar images for user emails. It provides an overview of key aspects of building a Rails application with user authentication, assets, and AJAX interactions.

ruby on railsweb design and development
RoR 101: Session 5
RoR 101: Session 5RoR 101: Session 5
RoR 101: Session 5

This document discusses adding authentication to a Rails application using the Devise gem. It covers generating a User model with Devise, installing Devise and its dependencies, and configuring authentication features like login, logout, and restricting access to controllers. Key aspects include: 1. Generating a User model with rails generate devise:install. 2. Adding Devise and its dependencies to the Gemfile and running bundle install. 3. Adding authentication checks like user_signed_in? and current_user to views. 4. Restricting controller actions with a before_filter to authenticate users.

ruby on railsweb design and development
db/migrate/2011010819_create_products.rbFilename is date/time specific, so yours may differAdding precision and scale to price fieldrake db:migratehttp://localhost:3000/products
Modifying the viewapp/views/products/_form.html.erbViews are dynamically rendered, so reloading in your browser will show your updates
Seeding your DB with datadb/seeds.rbExecutes Ruby code to pre-populate your databaseGood way to start with sample datarake db:seedRuns the ruby code
Update Products Viewapp/views/products/index.html.erb

Recommended for you

Rails Awesome Email
Rails Awesome EmailRails Awesome Email
Rails Awesome Email

Learn how the awesome email plugin for rails can help you send emails with layouts easily and make the design compatible with most email clients through css inlining.

rubyonrails
Web Controls Set-1
Web Controls Set-1Web Controls Set-1
Web Controls Set-1

This document provides instructions for creating and modifying an ASP:HyperLink web server control. It explains how to create a new web form, copy code for a hyperlink control into the form, and view the output. It then demonstrates how to modify properties of the hyperlink like font size and style, image URL, navigation URL, and tooltips. The document encourages sharing this information and visiting the Sunmitra website for more programming guides.

RoR 101: Session 6
RoR 101: Session 6RoR 101: Session 6
RoR 101: Session 6

The document discusses various topics relating to building web applications with Ruby on Rails such as setting up authentication with Devise, working with assets using the asset pipeline, adding AJAX functionality using remote links and JavaScript responses, handling dependent associations to avoid orphan records, and creating custom view helpers like a gravatar image generator. It also briefly mentions deployment and provides code examples for integrating these techniques.

ruby on railsweb design and development
Push to Herokugit add .git commit –m ‘Products scaffold’git push herokuheroku rake db:migrateheroku rake db:seedheroku openadd a /products to the URL
Data ValidationRails has data validation built into the modelapp/models/product.rb
Data Validation (cont.)
Rails Testingrake testRuns all the built in Rails testsPrints Failures as it finds them, but continues

Recommended for you

Automated layout testing using Galen Framework
Automated layout testing using Galen FrameworkAutomated layout testing using Galen Framework
Automated layout testing using Galen Framework

The Galen framework allows testing page layouts using Selenium and by verifying elements' positions relative to each other. It uses .gspec files to describe layouts with objects, groups, sections and tags. Verifications include checking widths, heights, alignments, text values, and relative positions using keywords like "near", "inside" and ranges. Results can be saved to HTML reports.

#sperasoft #programming #layout #galen
Ride on the Fast Track of Web with Ruby on Rails- Part 2
Ride on the Fast Track of Web with Ruby on Rails- Part 2Ride on the Fast Track of Web with Ruby on Rails- Part 2
Ride on the Fast Track of Web with Ruby on Rails- Part 2

Ruby on Rails is a web application framework that follows the model-view-controller (MVC) pattern. It uses RESTful routing and conventions to map HTTP verbs like GET and POST to controller actions. Models define the data and behavior of an application, controllers handle and respond to user input, and views display the UI for users. Rails emphasizes conventions over configuration for productivity and includes features like caching, asset pipelining, and internationalization.

ruby on rails
Cart creation-101217222728-phpapp01
Cart creation-101217222728-phpapp01Cart creation-101217222728-phpapp01
Cart creation-101217222728-phpapp01

This document summarizes steps for creating a shopping cart in a Rails application. It covers generating a Cart model and LineItem model with relationships, using Rails sessions to associate the cart with each user, adding public and private methods, callbacks and validations, adding a button to add items to the cart, and modifying views and controllers. Testing is done to ensure functionality. Homework includes enhancing the functionality by adding a click handler, session counter, and conditional display.

Functional TestsTests Controller actionstest/functional/products_controller_test.rb
Unit TestsTests Model methods/attributes/validationstest/unit/product_test.rb
Push to Herokugit add .git commit –m ‘Added validation’git push heroku
Store Frontrails generate controller store indexhttp://localhost:3000/store/indexgitrm public/index.htmlconfig/routes.rbhttp://localhost:3000/

Recommended for you

Multi screen HTML5
Multi screen HTML5Multi screen HTML5
Multi screen HTML5

Learn how to design responsive HTML5 websites and applications, and learn how to choose the right tool for the job.

multi-screenhtml5twitter bootstrap
Dynamic components using SPA concepts in AEM
Dynamic components using SPA concepts in AEMDynamic components using SPA concepts in AEM
Dynamic components using SPA concepts in AEM

A presentation given at the adaptTo() 2014 tech meetup on the topic of developing dynamic AEM components using concepts borrowed from the SPA philosophy.

aemspasoftware
Ruby On Rails Basics
Ruby On Rails BasicsRuby On Rails Basics
Ruby On Rails Basics

Ruby on Rails is a web application framework that follows the model-view-controller (MVC) pattern and includes everything needed to build database-backed web applications using the Ruby programming language. It aims to make web development more productive by utilizing conventions that reduce the need for configuration and promote reuse of common tasks like connecting to databases. The framework provides models for interacting with the database, views for displaying the user interface, and controllers that handle and respond to user input by manipulating models and rendering views.

railsrubyrails basics
Store ControllerModify store controller to pull products from the databaseapp/controllers/store_controller.rb
View file changesapp/views/store/index.html.erb
Application Layoutapp/views/layouts/application.html.erb
Updated view

Recommended for you

Ruby Rails Web Development
Ruby Rails Web DevelopmentRuby Rails Web Development
Ruby Rails Web Development

Ruby on Rails, often simply referred to as Rails, is an open-source web application framework written in Ruby. It follows the Model-View-Controller (MVC) architectural pattern, which separates an application into three interconnected components to promote code Ruby Rails Web Development organization and maintainability. Ruby on Rails has gained popularity for its focus on developer productivity and its convention-over-configuration philosophy, which significantly reduces the need for boilerplate code and configuration.

ruby rails web development
Developing Java Web Applications
Developing Java Web ApplicationsDeveloping Java Web Applications
Developing Java Web Applications

The document discusses several key technologies for developing Java web applications, including Java Servlet technology, WebWork framework, Spring framework, and Apache Maven build tool. It provides an overview of how each technology addresses common problems like stateless communication, business logic implementation, view generation, and data access overhead. Examples are given showing how WebWork and Spring can be used together with Maven to build a simple "Hello World" application that follows the MVC pattern and leverages dependency injection.

Advanced JavaScript
Advanced JavaScriptAdvanced JavaScript
Advanced JavaScript

This document provides an overview of JavaScript including its history, key features, and comparisons to other languages. It also discusses important JavaScript concepts like objects, functions, events, and libraries like jQuery. Key topics covered include the window, document, location, and history objects, arrays, cookies, closures, inheritance, callbacks, and popular JavaScript libraries and frameworks.

Customer wants books alphabatizedapp/models/product.rb
Store Functional Testtest/functional/store_controller_test.rb
Push to Herokugit add .git commit –m ‘Store scaffold’git push herokuheroku open
Cart Scaffoldrails generate scaffold cartrake db:migrate

Recommended for you

From Backbone to Ember and Back(bone) Again
From Backbone to Ember and Back(bone) AgainFrom Backbone to Ember and Back(bone) Again
From Backbone to Ember and Back(bone) Again

As a software consultant, I get to see a lot of interesting code. In this particular instance a client was in the process of transforming their web application to a rich, interactive interface with the help of another company. The project kicked off using Backbone and things were great. Until they were not great. Pages starting getting more and more involved and blame started being thrown at the technology choice. A move to Ember.js ensued and the app was rewritten. But architecturally bad decisions don't hide long, and soon the rewrite was preforming even worse. That's when I stepped in, with the help of another consultant, to solve the performance issues once and for all. Our solution used Backbone.js and it was fast. This is that journey.

backboneember.jsconsulting
MVC Demystified: Essence of Ruby on Rails
MVC Demystified: Essence of Ruby on RailsMVC Demystified: Essence of Ruby on Rails
MVC Demystified: Essence of Ruby on Rails

Examines the MVC design pattern and how Rails adheres to this powerful design pattern. Good introduction to Ruby on Rails framework.

Onion Architecture with S#arp
Onion Architecture with S#arpOnion Architecture with S#arp
Onion Architecture with S#arp

As presented to the Milwaukee Alt.Net group on November 21st, 2011. UPDATE April 19, 2012: added some domain logic organization slides using Fowler's 4 basic patterns.

onion architecturesoftware architecturedomain driven design
Modify Application Controllerapp/controller/application_controller.rb
LineItems scaffold rails generate scaffold line_itemproduct_id:integercart_id:integerquantity:integer
Update Cart modelapp/models/cart.rb
Update LineItem Modelapp/models/line_item.rb

Recommended for you

iPhone Web Development and Ruby On Rails
iPhone Web Development and Ruby On RailsiPhone Web Development and Ruby On Rails
iPhone Web Development and Ruby On Rails

iPhone Web Development and Ruby On Rails. Creating iPhone web applications in Ruby On Rails using the iWebKit toolkit

railsiwebkitruby
ZZ BC#7.5 asp.net mvc practice and guideline refresh!
ZZ BC#7.5 asp.net mvc practice  and guideline refresh! ZZ BC#7.5 asp.net mvc practice  and guideline refresh!
ZZ BC#7.5 asp.net mvc practice and guideline refresh!

15/01/2012 ZZ BC#7.5 : Slide Presentation Code Sample : ZZBC#7.5_ASPNETMVC http://tinyurl.com/834chox

asp.netmvc.net framework
Web development concepts using microsoft technologies
Web development concepts using microsoft technologiesWeb development concepts using microsoft technologies
Web development concepts using microsoft technologies

This document summarizes a presentation about web development concepts using Microsoft technologies. It introduces ASP.NET as a framework for building web applications in C# or VB.NET using Visual Studio. It describes ASP.NET features like controls, page lifecycle, and different coding styles. It also discusses recent additions like AJAX, jQuery, LINQ, MVC, and the Microsoft web platform. The presentation aims to provide an overview of Microsoft web technologies and how they can help developers build web applications.

aspnetweb platformmicrosoft
Update Product modelapp/models/product.rb
Add to Cart buttonapp/views/store/index.html.erb
LineItems controllerapp/controllers/line_items_controller.rb
Carts Viewapp/views/carts/show.html.erb

Recommended for you

Rails
RailsRails
Rails

The document discusses setting up a Ruby on Rails web application. It explains how to install Ruby and Rails, configure the database, and generate models. The Rails directory structure is described, including the app, config, and db folders. Finally, it shows how to start the web server and create a basic Rails application.

 
by SHC
내꺼내꺼
내꺼내꺼내꺼내꺼
내꺼내꺼

Visual Studio "Orcas" will include major updates to support web development like a redesigned HTML editor, improved JavaScript support, and LINQ for querying data from various sources. It will also allow targeting multiple versions of the .NET framework from a single project. A beta release is expected in the summer with a focus on improved productivity and an easier upgrade process for existing developers.

Ruby On Rails Siddhesh
Ruby On Rails SiddheshRuby On Rails Siddhesh
Ruby On Rails Siddhesh

Ruby on Rails is an open source web application framework that allows developers to create database-backed web applications quickly using conventions over configurations. Rails emphasizes less code and faster development through features like scaffolding that can generate basic CRUD functionality and views in minutes. Popular sites like Basecamp and 43 Things were built using Ruby on Rails by small teams in short periods of time due to Rails' conventions and built-in features for caching, validation, callbacks, and Ajax support.

ror
Carts Controllerapp/controller/carts_controller.rb
Update Herokugit add .git commit –m ‘Cart updated’git push herokuheroku open
Further ReadingAgile Web Development with Railshttp://pragprog.com/titles/rails4/agile-web-development-with-railshttp://rubyonrails.orghttp://railsforzombies.org/http://tryruby.org/http://rubykoans.com/

More Related Content

What's hot

Apex & jQuery Mobile
Apex & jQuery MobileApex & jQuery Mobile
Apex & jQuery Mobile
Christian Rokitta
 
5 Reasons To Love CodeIgniter
5 Reasons To Love CodeIgniter5 Reasons To Love CodeIgniter
5 Reasons To Love CodeIgniter
nicdev
 
SPA using Rails & Backbone
SPA using Rails & BackboneSPA using Rails & Backbone
SPA using Rails & Backbone
Ashan Fernando
 
Ajax on drupal the right way - DrupalCamp Campinas, São Paulo, Brazil 2016
Ajax on drupal the right way - DrupalCamp Campinas, São Paulo, Brazil 2016Ajax on drupal the right way - DrupalCamp Campinas, São Paulo, Brazil 2016
Ajax on drupal the right way - DrupalCamp Campinas, São Paulo, Brazil 2016
Nicolás Bouhid
 
Plugins unplugged
Plugins unpluggedPlugins unplugged
Plugins unplugged
Christian Rokitta
 
Testing C# and ASP.net using Ruby
Testing C# and ASP.net using RubyTesting C# and ASP.net using Ruby
Testing C# and ASP.net using Ruby
Ben Hall
 
RoR 101: Session 2
RoR 101: Session 2RoR 101: Session 2
RoR 101: Session 2
Rory Gianni
 
Telling Stories With RSpec
Telling Stories With RSpecTelling Stories With RSpec
Telling Stories With RSpec
rahoulb
 
jQuery Mobile Workshop
jQuery Mobile WorkshopjQuery Mobile Workshop
jQuery Mobile Workshop
Ron Reiter
 
Rapid Application Development with CakePHP 1.3
Rapid Application Development with CakePHP 1.3Rapid Application Development with CakePHP 1.3
Rapid Application Development with CakePHP 1.3
kidtangerine
 
RoR 101: Session 6
RoR 101: Session 6RoR 101: Session 6
RoR 101: Session 6
Rory Gianni
 
RoR 101: Session 5
RoR 101: Session 5RoR 101: Session 5
RoR 101: Session 5
Rory Gianni
 
Rails Awesome Email
Rails Awesome EmailRails Awesome Email
Rails Awesome Email
imedo.de
 
Web Controls Set-1
Web Controls Set-1Web Controls Set-1
Web Controls Set-1
sunmitraeducation
 
RoR 101: Session 6
RoR 101: Session 6RoR 101: Session 6
RoR 101: Session 6
Rory Gianni
 
Automated layout testing using Galen Framework
Automated layout testing using Galen FrameworkAutomated layout testing using Galen Framework
Automated layout testing using Galen Framework
Sperasoft
 
Ride on the Fast Track of Web with Ruby on Rails- Part 2
Ride on the Fast Track of Web with Ruby on Rails- Part 2Ride on the Fast Track of Web with Ruby on Rails- Part 2
Ride on the Fast Track of Web with Ruby on Rails- Part 2
A.K.M. Ahsrafuzzaman
 
Cart creation-101217222728-phpapp01
Cart creation-101217222728-phpapp01Cart creation-101217222728-phpapp01
Cart creation-101217222728-phpapp01
Jason Noble
 
Multi screen HTML5
Multi screen HTML5Multi screen HTML5
Multi screen HTML5
Ron Reiter
 
Dynamic components using SPA concepts in AEM
Dynamic components using SPA concepts in AEMDynamic components using SPA concepts in AEM
Dynamic components using SPA concepts in AEM
Bojana Popovska
 

What's hot (20)

Apex & jQuery Mobile
Apex & jQuery MobileApex & jQuery Mobile
Apex & jQuery Mobile
 
5 Reasons To Love CodeIgniter
5 Reasons To Love CodeIgniter5 Reasons To Love CodeIgniter
5 Reasons To Love CodeIgniter
 
SPA using Rails & Backbone
SPA using Rails & BackboneSPA using Rails & Backbone
SPA using Rails & Backbone
 
Ajax on drupal the right way - DrupalCamp Campinas, São Paulo, Brazil 2016
Ajax on drupal the right way - DrupalCamp Campinas, São Paulo, Brazil 2016Ajax on drupal the right way - DrupalCamp Campinas, São Paulo, Brazil 2016
Ajax on drupal the right way - DrupalCamp Campinas, São Paulo, Brazil 2016
 
Plugins unplugged
Plugins unpluggedPlugins unplugged
Plugins unplugged
 
Testing C# and ASP.net using Ruby
Testing C# and ASP.net using RubyTesting C# and ASP.net using Ruby
Testing C# and ASP.net using Ruby
 
RoR 101: Session 2
RoR 101: Session 2RoR 101: Session 2
RoR 101: Session 2
 
Telling Stories With RSpec
Telling Stories With RSpecTelling Stories With RSpec
Telling Stories With RSpec
 
jQuery Mobile Workshop
jQuery Mobile WorkshopjQuery Mobile Workshop
jQuery Mobile Workshop
 
Rapid Application Development with CakePHP 1.3
Rapid Application Development with CakePHP 1.3Rapid Application Development with CakePHP 1.3
Rapid Application Development with CakePHP 1.3
 
RoR 101: Session 6
RoR 101: Session 6RoR 101: Session 6
RoR 101: Session 6
 
RoR 101: Session 5
RoR 101: Session 5RoR 101: Session 5
RoR 101: Session 5
 
Rails Awesome Email
Rails Awesome EmailRails Awesome Email
Rails Awesome Email
 
Web Controls Set-1
Web Controls Set-1Web Controls Set-1
Web Controls Set-1
 
RoR 101: Session 6
RoR 101: Session 6RoR 101: Session 6
RoR 101: Session 6
 
Automated layout testing using Galen Framework
Automated layout testing using Galen FrameworkAutomated layout testing using Galen Framework
Automated layout testing using Galen Framework
 
Ride on the Fast Track of Web with Ruby on Rails- Part 2
Ride on the Fast Track of Web with Ruby on Rails- Part 2Ride on the Fast Track of Web with Ruby on Rails- Part 2
Ride on the Fast Track of Web with Ruby on Rails- Part 2
 
Cart creation-101217222728-phpapp01
Cart creation-101217222728-phpapp01Cart creation-101217222728-phpapp01
Cart creation-101217222728-phpapp01
 
Multi screen HTML5
Multi screen HTML5Multi screen HTML5
Multi screen HTML5
 
Dynamic components using SPA concepts in AEM
Dynamic components using SPA concepts in AEMDynamic components using SPA concepts in AEM
Dynamic components using SPA concepts in AEM
 

Similar to Intro to Rails Give Camp Atlanta

Ruby On Rails Basics
Ruby On Rails BasicsRuby On Rails Basics
Ruby On Rails Basics
Amit Solanki
 
Ruby Rails Web Development
Ruby Rails Web DevelopmentRuby Rails Web Development
Ruby Rails Web Development
Sonia Simi
 
Developing Java Web Applications
Developing Java Web ApplicationsDeveloping Java Web Applications
Developing Java Web Applications
hchen1
 
Advanced JavaScript
Advanced JavaScriptAdvanced JavaScript
Advanced JavaScript
Mahmoud Tolba
 
From Backbone to Ember and Back(bone) Again
From Backbone to Ember and Back(bone) AgainFrom Backbone to Ember and Back(bone) Again
From Backbone to Ember and Back(bone) Again
jonknapp
 
MVC Demystified: Essence of Ruby on Rails
MVC Demystified: Essence of Ruby on RailsMVC Demystified: Essence of Ruby on Rails
MVC Demystified: Essence of Ruby on Rails
codeinmotion
 
Onion Architecture with S#arp
Onion Architecture with S#arpOnion Architecture with S#arp
Onion Architecture with S#arp
Gary Pedretti
 
iPhone Web Development and Ruby On Rails
iPhone Web Development and Ruby On RailsiPhone Web Development and Ruby On Rails
iPhone Web Development and Ruby On Rails
Jose de Leon
 
ZZ BC#7.5 asp.net mvc practice and guideline refresh!
ZZ BC#7.5 asp.net mvc practice  and guideline refresh! ZZ BC#7.5 asp.net mvc practice  and guideline refresh!
ZZ BC#7.5 asp.net mvc practice and guideline refresh!
Chalermpon Areepong
 
Web development concepts using microsoft technologies
Web development concepts using microsoft technologiesWeb development concepts using microsoft technologies
Web development concepts using microsoft technologies
Hosam Kamel
 
Rails
RailsRails
Rails
SHC
 
내꺼내꺼
내꺼내꺼내꺼내꺼
내꺼내꺼
misty915
 
Ruby On Rails Siddhesh
Ruby On Rails SiddheshRuby On Rails Siddhesh
Ruby On Rails Siddhesh
Siddhesh Bhobe
 
ASP.NET Presentation
ASP.NET PresentationASP.NET Presentation
ASP.NET Presentation
Rasel Khan
 
Crash Course HTML/Rails Slides
Crash Course HTML/Rails SlidesCrash Course HTML/Rails Slides
Crash Course HTML/Rails Slides
Udita Plaha
 
Laravel overview
Laravel overviewLaravel overview
Laravel overview
Obinna Akunne
 
Intro lift
Intro liftIntro lift
Intro lift
Knoldus Inc.
 
Getting Started with Rails
Getting Started with RailsGetting Started with Rails
Getting Started with Rails
Basayel Said
 
Drupalcon Mumbai
Drupalcon MumbaiDrupalcon Mumbai
Drupalcon Mumbai
Sumit Kataria
 
Ajax toolkit framework
Ajax toolkit frameworkAjax toolkit framework
Ajax toolkit framework
Sunil Kumar
 

Similar to Intro to Rails Give Camp Atlanta (20)

Ruby On Rails Basics
Ruby On Rails BasicsRuby On Rails Basics
Ruby On Rails Basics
 
Ruby Rails Web Development
Ruby Rails Web DevelopmentRuby Rails Web Development
Ruby Rails Web Development
 
Developing Java Web Applications
Developing Java Web ApplicationsDeveloping Java Web Applications
Developing Java Web Applications
 
Advanced JavaScript
Advanced JavaScriptAdvanced JavaScript
Advanced JavaScript
 
From Backbone to Ember and Back(bone) Again
From Backbone to Ember and Back(bone) AgainFrom Backbone to Ember and Back(bone) Again
From Backbone to Ember and Back(bone) Again
 
MVC Demystified: Essence of Ruby on Rails
MVC Demystified: Essence of Ruby on RailsMVC Demystified: Essence of Ruby on Rails
MVC Demystified: Essence of Ruby on Rails
 
Onion Architecture with S#arp
Onion Architecture with S#arpOnion Architecture with S#arp
Onion Architecture with S#arp
 
iPhone Web Development and Ruby On Rails
iPhone Web Development and Ruby On RailsiPhone Web Development and Ruby On Rails
iPhone Web Development and Ruby On Rails
 
ZZ BC#7.5 asp.net mvc practice and guideline refresh!
ZZ BC#7.5 asp.net mvc practice  and guideline refresh! ZZ BC#7.5 asp.net mvc practice  and guideline refresh!
ZZ BC#7.5 asp.net mvc practice and guideline refresh!
 
Web development concepts using microsoft technologies
Web development concepts using microsoft technologiesWeb development concepts using microsoft technologies
Web development concepts using microsoft technologies
 
Rails
RailsRails
Rails
 
내꺼내꺼
내꺼내꺼내꺼내꺼
내꺼내꺼
 
Ruby On Rails Siddhesh
Ruby On Rails SiddheshRuby On Rails Siddhesh
Ruby On Rails Siddhesh
 
ASP.NET Presentation
ASP.NET PresentationASP.NET Presentation
ASP.NET Presentation
 
Crash Course HTML/Rails Slides
Crash Course HTML/Rails SlidesCrash Course HTML/Rails Slides
Crash Course HTML/Rails Slides
 
Laravel overview
Laravel overviewLaravel overview
Laravel overview
 
Intro lift
Intro liftIntro lift
Intro lift
 
Getting Started with Rails
Getting Started with RailsGetting Started with Rails
Getting Started with Rails
 
Drupalcon Mumbai
Drupalcon MumbaiDrupalcon Mumbai
Drupalcon Mumbai
 
Ajax toolkit framework
Ajax toolkit frameworkAjax toolkit framework
Ajax toolkit framework
 

More from Jason Noble

Intro to TDD and BDD
Intro to TDD and BDDIntro to TDD and BDD
Intro to TDD and BDD
Jason Noble
 
Davinci git brown_bag
Davinci git brown_bagDavinci git brown_bag
Davinci git brown_bag
Jason Noble
 
Rspec 101
Rspec 101Rspec 101
Rspec 101
Jason Noble
 
Google apps
Google appsGoogle apps
Google apps
Jason Noble
 
Smarter cart
Smarter cartSmarter cart
Smarter cart
Jason Noble
 
Validation unit testing
Validation unit testingValidation unit testing
Validation unit testing
Jason Noble
 
Creating the application
Creating the applicationCreating the application
Creating the application
Jason Noble
 
Capistrano
CapistranoCapistrano
Capistrano
Jason Noble
 
Atlanta Pm Git 101
Atlanta Pm Git 101Atlanta Pm Git 101
Atlanta Pm Git 101
Jason Noble
 
Regex Intro
Regex IntroRegex Intro
Regex Intro
Jason Noble
 
Git101
Git101Git101
Git101
Jason Noble
 
Git Atlrug
Git AtlrugGit Atlrug
Git Atlrug
Jason Noble
 
Git102
Git102Git102
Git102
Jason Noble
 

More from Jason Noble (13)

Intro to TDD and BDD
Intro to TDD and BDDIntro to TDD and BDD
Intro to TDD and BDD
 
Davinci git brown_bag
Davinci git brown_bagDavinci git brown_bag
Davinci git brown_bag
 
Rspec 101
Rspec 101Rspec 101
Rspec 101
 
Google apps
Google appsGoogle apps
Google apps
 
Smarter cart
Smarter cartSmarter cart
Smarter cart
 
Validation unit testing
Validation unit testingValidation unit testing
Validation unit testing
 
Creating the application
Creating the applicationCreating the application
Creating the application
 
Capistrano
CapistranoCapistrano
Capistrano
 
Atlanta Pm Git 101
Atlanta Pm Git 101Atlanta Pm Git 101
Atlanta Pm Git 101
 
Regex Intro
Regex IntroRegex Intro
Regex Intro
 
Git101
Git101Git101
Git101
 
Git Atlrug
Git AtlrugGit Atlrug
Git Atlrug
 
Git102
Git102Git102
Git102
 

Recently uploaded

TrustArc Webinar - 2024 Data Privacy Trends: A Mid-Year Check-In
TrustArc Webinar - 2024 Data Privacy Trends: A Mid-Year Check-InTrustArc Webinar - 2024 Data Privacy Trends: A Mid-Year Check-In
TrustArc Webinar - 2024 Data Privacy Trends: A Mid-Year Check-In
TrustArc
 
BT & Neo4j: Knowledge Graphs for Critical Enterprise Systems.pptx.pdf
BT & Neo4j: Knowledge Graphs for Critical Enterprise Systems.pptx.pdfBT & Neo4j: Knowledge Graphs for Critical Enterprise Systems.pptx.pdf
BT & Neo4j: Knowledge Graphs for Critical Enterprise Systems.pptx.pdf
Neo4j
 
Measuring the Impact of Network Latency at Twitter
Measuring the Impact of Network Latency at TwitterMeasuring the Impact of Network Latency at Twitter
Measuring the Impact of Network Latency at Twitter
ScyllaDB
 
[Talk] Moving Beyond Spaghetti Infrastructure [AOTB] 2024-07-04.pdf
[Talk] Moving Beyond Spaghetti Infrastructure [AOTB] 2024-07-04.pdf[Talk] Moving Beyond Spaghetti Infrastructure [AOTB] 2024-07-04.pdf
[Talk] Moving Beyond Spaghetti Infrastructure [AOTB] 2024-07-04.pdf
Kief Morris
 
BLOCKCHAIN FOR DUMMIES: GUIDEBOOK FOR ALL
BLOCKCHAIN FOR DUMMIES: GUIDEBOOK FOR ALLBLOCKCHAIN FOR DUMMIES: GUIDEBOOK FOR ALL
BLOCKCHAIN FOR DUMMIES: GUIDEBOOK FOR ALL
Liveplex
 
Password Rotation in 2024 is still Relevant
Password Rotation in 2024 is still RelevantPassword Rotation in 2024 is still Relevant
Password Rotation in 2024 is still Relevant
Bert Blevins
 
20240702 QFM021 Machine Intelligence Reading List June 2024
20240702 QFM021 Machine Intelligence Reading List June 202420240702 QFM021 Machine Intelligence Reading List June 2024
20240702 QFM021 Machine Intelligence Reading List June 2024
Matthew Sinclair
 
Active Inference is a veryyyyyyyyyyyyyyyyyyyyyyyy
Active Inference is a veryyyyyyyyyyyyyyyyyyyyyyyyActive Inference is a veryyyyyyyyyyyyyyyyyyyyyyyy
Active Inference is a veryyyyyyyyyyyyyyyyyyyyyyyy
RaminGhanbari2
 
The Rise of Supernetwork Data Intensive Computing
The Rise of Supernetwork Data Intensive ComputingThe Rise of Supernetwork Data Intensive Computing
The Rise of Supernetwork Data Intensive Computing
Larry Smarr
 
Quality Patents: Patents That Stand the Test of Time
Quality Patents: Patents That Stand the Test of TimeQuality Patents: Patents That Stand the Test of Time
Quality Patents: Patents That Stand the Test of Time
Aurora Consulting
 
Quantum Communications Q&A with Gemini LLM
Quantum Communications Q&A with Gemini LLMQuantum Communications Q&A with Gemini LLM
Quantum Communications Q&A with Gemini LLM
Vijayananda Mohire
 
20240705 QFM024 Irresponsible AI Reading List June 2024
20240705 QFM024 Irresponsible AI Reading List June 202420240705 QFM024 Irresponsible AI Reading List June 2024
20240705 QFM024 Irresponsible AI Reading List June 2024
Matthew Sinclair
 
The Increasing Use of the National Research Platform by the CSU Campuses
The Increasing Use of the National Research Platform by the CSU CampusesThe Increasing Use of the National Research Platform by the CSU Campuses
The Increasing Use of the National Research Platform by the CSU Campuses
Larry Smarr
 
How to Build a Profitable IoT Product.pptx
How to Build a Profitable IoT Product.pptxHow to Build a Profitable IoT Product.pptx
How to Build a Profitable IoT Product.pptx
Adam Dunkels
 
RPA In Healthcare Benefits, Use Case, Trend And Challenges 2024.pptx
RPA In Healthcare Benefits, Use Case, Trend And Challenges 2024.pptxRPA In Healthcare Benefits, Use Case, Trend And Challenges 2024.pptx
RPA In Healthcare Benefits, Use Case, Trend And Challenges 2024.pptx
SynapseIndia
 
Research Directions for Cross Reality Interfaces
Research Directions for Cross Reality InterfacesResearch Directions for Cross Reality Interfaces
Research Directions for Cross Reality Interfaces
Mark Billinghurst
 
20240702 Présentation Plateforme GenAI.pdf
20240702 Présentation Plateforme GenAI.pdf20240702 Présentation Plateforme GenAI.pdf
20240702 Présentation Plateforme GenAI.pdf
Sally Laouacheria
 
Pigging Solutions Sustainability brochure.pdf
Pigging Solutions Sustainability brochure.pdfPigging Solutions Sustainability brochure.pdf
Pigging Solutions Sustainability brochure.pdf
Pigging Solutions
 
What’s New in Teams Calling, Meetings and Devices May 2024
What’s New in Teams Calling, Meetings and Devices May 2024What’s New in Teams Calling, Meetings and Devices May 2024
What’s New in Teams Calling, Meetings and Devices May 2024
Stephanie Beckett
 
Mitigating the Impact of State Management in Cloud Stream Processing Systems
Mitigating the Impact of State Management in Cloud Stream Processing SystemsMitigating the Impact of State Management in Cloud Stream Processing Systems
Mitigating the Impact of State Management in Cloud Stream Processing Systems
ScyllaDB
 

Recently uploaded (20)

TrustArc Webinar - 2024 Data Privacy Trends: A Mid-Year Check-In
TrustArc Webinar - 2024 Data Privacy Trends: A Mid-Year Check-InTrustArc Webinar - 2024 Data Privacy Trends: A Mid-Year Check-In
TrustArc Webinar - 2024 Data Privacy Trends: A Mid-Year Check-In
 
BT & Neo4j: Knowledge Graphs for Critical Enterprise Systems.pptx.pdf
BT & Neo4j: Knowledge Graphs for Critical Enterprise Systems.pptx.pdfBT & Neo4j: Knowledge Graphs for Critical Enterprise Systems.pptx.pdf
BT & Neo4j: Knowledge Graphs for Critical Enterprise Systems.pptx.pdf
 
Measuring the Impact of Network Latency at Twitter
Measuring the Impact of Network Latency at TwitterMeasuring the Impact of Network Latency at Twitter
Measuring the Impact of Network Latency at Twitter
 
[Talk] Moving Beyond Spaghetti Infrastructure [AOTB] 2024-07-04.pdf
[Talk] Moving Beyond Spaghetti Infrastructure [AOTB] 2024-07-04.pdf[Talk] Moving Beyond Spaghetti Infrastructure [AOTB] 2024-07-04.pdf
[Talk] Moving Beyond Spaghetti Infrastructure [AOTB] 2024-07-04.pdf
 
BLOCKCHAIN FOR DUMMIES: GUIDEBOOK FOR ALL
BLOCKCHAIN FOR DUMMIES: GUIDEBOOK FOR ALLBLOCKCHAIN FOR DUMMIES: GUIDEBOOK FOR ALL
BLOCKCHAIN FOR DUMMIES: GUIDEBOOK FOR ALL
 
Password Rotation in 2024 is still Relevant
Password Rotation in 2024 is still RelevantPassword Rotation in 2024 is still Relevant
Password Rotation in 2024 is still Relevant
 
20240702 QFM021 Machine Intelligence Reading List June 2024
20240702 QFM021 Machine Intelligence Reading List June 202420240702 QFM021 Machine Intelligence Reading List June 2024
20240702 QFM021 Machine Intelligence Reading List June 2024
 
Active Inference is a veryyyyyyyyyyyyyyyyyyyyyyyy
Active Inference is a veryyyyyyyyyyyyyyyyyyyyyyyyActive Inference is a veryyyyyyyyyyyyyyyyyyyyyyyy
Active Inference is a veryyyyyyyyyyyyyyyyyyyyyyyy
 
The Rise of Supernetwork Data Intensive Computing
The Rise of Supernetwork Data Intensive ComputingThe Rise of Supernetwork Data Intensive Computing
The Rise of Supernetwork Data Intensive Computing
 
Quality Patents: Patents That Stand the Test of Time
Quality Patents: Patents That Stand the Test of TimeQuality Patents: Patents That Stand the Test of Time
Quality Patents: Patents That Stand the Test of Time
 
Quantum Communications Q&A with Gemini LLM
Quantum Communications Q&A with Gemini LLMQuantum Communications Q&A with Gemini LLM
Quantum Communications Q&A with Gemini LLM
 
20240705 QFM024 Irresponsible AI Reading List June 2024
20240705 QFM024 Irresponsible AI Reading List June 202420240705 QFM024 Irresponsible AI Reading List June 2024
20240705 QFM024 Irresponsible AI Reading List June 2024
 
The Increasing Use of the National Research Platform by the CSU Campuses
The Increasing Use of the National Research Platform by the CSU CampusesThe Increasing Use of the National Research Platform by the CSU Campuses
The Increasing Use of the National Research Platform by the CSU Campuses
 
How to Build a Profitable IoT Product.pptx
How to Build a Profitable IoT Product.pptxHow to Build a Profitable IoT Product.pptx
How to Build a Profitable IoT Product.pptx
 
RPA In Healthcare Benefits, Use Case, Trend And Challenges 2024.pptx
RPA In Healthcare Benefits, Use Case, Trend And Challenges 2024.pptxRPA In Healthcare Benefits, Use Case, Trend And Challenges 2024.pptx
RPA In Healthcare Benefits, Use Case, Trend And Challenges 2024.pptx
 
Research Directions for Cross Reality Interfaces
Research Directions for Cross Reality InterfacesResearch Directions for Cross Reality Interfaces
Research Directions for Cross Reality Interfaces
 
20240702 Présentation Plateforme GenAI.pdf
20240702 Présentation Plateforme GenAI.pdf20240702 Présentation Plateforme GenAI.pdf
20240702 Présentation Plateforme GenAI.pdf
 
Pigging Solutions Sustainability brochure.pdf
Pigging Solutions Sustainability brochure.pdfPigging Solutions Sustainability brochure.pdf
Pigging Solutions Sustainability brochure.pdf
 
What’s New in Teams Calling, Meetings and Devices May 2024
What’s New in Teams Calling, Meetings and Devices May 2024What’s New in Teams Calling, Meetings and Devices May 2024
What’s New in Teams Calling, Meetings and Devices May 2024
 
Mitigating the Impact of State Management in Cloud Stream Processing Systems
Mitigating the Impact of State Management in Cloud Stream Processing SystemsMitigating the Impact of State Management in Cloud Stream Processing Systems
Mitigating the Impact of State Management in Cloud Stream Processing Systems
 

Intro to Rails Give Camp Atlanta

Editor's Notes

  1. heroku create _NAME_ will create an app called _NAME_, i.e. http://_NAME_.heroku.com
  2. Modifying the specified line to include the :precision and :scale arguments.rake db:migrate executes this code to create the products tableThe scaffolding will now be available at http://localhost:3000/products
  3. When you go to /products and click New ProductWhen you submit a product that fails validation, rails automatically generates the error page shown