SlideShare a Scribd company logo
1 of 48
Download to read offline
RUBY ON
RAILS
THE
BEST
TRACK
FOR
YOUR

STARTUP’S
JOYRIDE

DISCLAIMER:
I
AM
A
N00B!
Every start up
begins with a dream
Dreams don’t sell
Great Products Do
You need to plan
& build your idea
And the best
way to do
that is...
Lets get
started...
but where do
we begin?
Code is Poetry
         -WORDPRESS
Don’t code. Just think.
What everything will be like?
How would it rhyme?
user has_one :shop
user has_many :products

shop belongs_to :user
shop has_many :shelves

products belong_to :users

shelf belongs_to :shop
user has_one :shop
user has_many :products

shop belongs_to :user
shop has_many :shelves

products belong_to :users

shelf belongs_to :shop
script/generate

A personal chef
       anyone?
./script/generate scaffold Product
name:string action:string price:integer
picture:string summary:text description:text
C reate
R ead
U pdate
D elete
A place to start.
A place to learn.
script/console

 Its alive! Its alive!
Its alive!...or is it?
Loading development environment (Rails 2.0.2)...
Loading development environment (Rails 2.0.2)...

>> Product
=> Product(id: integer, name: string, action: string, price:
integer, picture: string, summary: text, description: text,
created_at: datetime, updated_at: datetime, user_id: integer)
Loading development environment (Rails 2.0.2)...

>> Product
=> Product(id: integer, name: string, action: string, price:
integer, picture: string, summary: text, description: text,
created_at: datetime, updated_at: datetime, user_id: integer)

>> Product.find(59)
=> #<Product id: 59, name: quot;Audi TTquot;, action: quot;sellquot;, price:
100000, picture: quot;Audi_TT.jpgquot;, summary: quot;Its a car!!quot;,
description: quot;lorem ipsum dolor sit ametquot;, created_at: quot;2008-06-07
12:36:32quot;, updated_at: quot;2008-06-07 12:36:32quot;, user_id: 7>
Loading development environment (Rails 2.0.2)...

>> Product
=> Product(id: integer, name: string, action: string, price:
integer, picture: string, summary: text, description: text,
created_at: datetime, updated_at: datetime, user_id: integer)

>> Product.find(59)
=> #<Product id: 59, name: quot;Audi TTquot;, action: quot;sellquot;, price:
100000, picture: quot;Audi_TT.jpgquot;, summary: quot;Its a car!!quot;,
description: quot;lorem ipsum dolor sit ametquot;, created_at: quot;2008-06-07
12:36:32quot;, updated_at: quot;2008-06-07 12:36:32quot;, user_id: 7>
Loading development environment (Rails 2.0.2)...

>> Product
=> Product(id: integer, name: string, action: string, price:
integer, picture: string, summary: text, description: text,
created_at: datetime, updated_at: datetime, user_id: integer)

>> Product.find(59)
=> #<Product id: 59, name: quot;Audi TTquot;, action: quot;sellquot;, price:
100000, picture: quot;Audi_TT.jpgquot;, summary: quot;Its a car!!quot;,
description: quot;lorem ipsum dolor sit ametquot;, created_at: quot;2008-06-07
12:36:32quot;, updated_at: quot;2008-06-07 12:36:32quot;, user_id: 7>

>> Product.find(59).user
=> #<User id: 7, login: quot;Prateekquot;, email: quot;prtksxna@gmail.comquot;,
crypted_password: quot;a1cb20b35813eaf0c91793595078ab6030a950c3quot;, salt:
quot;3621a974b606c816527d7f25cd83c6ea0b9a13c0quot;, created_at: quot;2008-06-07
12:34:47quot;, updated_at: quot;2008-06-07 12:34:47quot;, remember_token: nil,
remember_token_expires_at: nil>
Loading development environment (Rails 2.0.2)...

>> Product
=> Product(id: integer, name: string, action: string, price:
integer, picture: string, summary: text, description: text,
created_at: datetime, updated_at: datetime, user_id: integer)

>> Product.find(59)
=> #<Product id: 59, name: quot;Audi TTquot;, action: quot;sellquot;, price:
100000, picture: quot;Audi_TT.jpgquot;, summary: quot;Its a car!!quot;,
description: quot;lorem ipsum dolor sit ametquot;, created_at: quot;2008-06-07
12:36:32quot;, updated_at: quot;2008-06-07 12:36:32quot;, user_id: 7>

>> Product.find(59).user
=> #<User id: 7, login: quot;Prateekquot;, email: quot;prtksxna@gmail.comquot;,
crypted_password: quot;a1cb20b35813eaf0c91793595078ab6030a950c3quot;, salt:
quot;3621a974b606c816527d7f25cd83c6ea0b9a13c0quot;, created_at: quot;2008-06-07
12:34:47quot;, updated_at: quot;2008-06-07 12:34:47quot;, remember_token: nil,
remember_token_expires_at: nil>
script/plugin

   Walk with me &
you’ll learn to walk
A login system
script/plugin source http://svn.techno-weenie.net/projects/plugins
script/plugin install restful_authentication

script/generate authenticated user sessions
*


*interface not included
Beautiful Interface
git clone git://github.com/Lipsiasoft/lipsiadmin.git vendor/
plugins/lipsiadmin

script/generate lipsiadmin
Ready to use code.
Highly tested.
Learning Point for beginners.
1st Application
Learn as you Go!
Do it alone!
36 HOURS
Find time
Pretend to be Sick
Pretend that you
went on a vacation
There is help along
the way...
irc.freenode.net #rubyonrails



      http://groups.google.com/group/rubyonrails-talk




API   http://api.rubyonrails.org/


      http://wiki.rubyonrails.org/rails
Thank You
Any questions?
Get in touch
prtksxna@gmail.com
prateek.saxena@yahoo.com
http://twitter.com/prtksxna
Image Credits..
•   Day dreaming - http://www.flickr.com/photos/klamont/562876285/


•   Warren Buffet - http://www.flickr.com/photos/
    7933170@N03/984596632/


•   Eva Rees - http://www.flickr.com/photos/evarees/2050595096/


•   Boot Load - http://www.flickr.com/photos/bootload/221087443/


•   Justing Palmer - http://www.flickr.com/photos/encyte/56883622/sizes/l


•   Mike Autrey - http://www.flickr.com/photos/mikeautry1/906447964/
    sizes/o/



                                                       mostly Flickr...

More Related Content

Viewers also liked

Unearthed Arcana for Web People
Unearthed Arcana for Web PeopleUnearthed Arcana for Web People
Unearthed Arcana for Web PeopleClinton Dreisbach
 
Ruby On Rails coding conventions, standards and best practices
Ruby On Rails coding conventions, standards and best practicesRuby On Rails coding conventions, standards and best practices
Ruby On Rails coding conventions, standards and best practicesDavid Paluy
 
Migrating Legacy Rails Apps to Rails 3
Migrating Legacy Rails Apps to Rails 3Migrating Legacy Rails Apps to Rails 3
Migrating Legacy Rails Apps to Rails 3Clinton Dreisbach
 
Launching Ruby on Rails projects: A checklist
Launching Ruby on Rails projects: A checklistLaunching Ruby on Rails projects: A checklist
Launching Ruby on Rails projects: A checklistRobby Russell
 

Viewers also liked (7)

HTML5 Now
HTML5 NowHTML5 Now
HTML5 Now
 
Having Fun with Play
Having Fun with PlayHaving Fun with Play
Having Fun with Play
 
The Joy Of Ruby
The Joy Of RubyThe Joy Of Ruby
The Joy Of Ruby
 
Unearthed Arcana for Web People
Unearthed Arcana for Web PeopleUnearthed Arcana for Web People
Unearthed Arcana for Web People
 
Ruby On Rails coding conventions, standards and best practices
Ruby On Rails coding conventions, standards and best practicesRuby On Rails coding conventions, standards and best practices
Ruby On Rails coding conventions, standards and best practices
 
Migrating Legacy Rails Apps to Rails 3
Migrating Legacy Rails Apps to Rails 3Migrating Legacy Rails Apps to Rails 3
Migrating Legacy Rails Apps to Rails 3
 
Launching Ruby on Rails projects: A checklist
Launching Ruby on Rails projects: A checklistLaunching Ruby on Rails projects: A checklist
Launching Ruby on Rails projects: A checklist
 

Similar to Ruby on Rails - The Best Track for your Start Up

Intro To Django
Intro To DjangoIntro To Django
Intro To DjangoUdi Bauman
 
From Idea to App (or “How we roll at Small Town Heroes”)
From Idea to App (or “How we roll at Small Town Heroes”)From Idea to App (or “How we roll at Small Town Heroes”)
From Idea to App (or “How we roll at Small Town Heroes”)Bramus Van Damme
 
Leveling up your JavaScipt - DrupalJam 2017
Leveling up your JavaScipt - DrupalJam 2017Leveling up your JavaScipt - DrupalJam 2017
Leveling up your JavaScipt - DrupalJam 2017Christian Heilmann
 
Ajax Development With Dreamweaver
Ajax Development With DreamweaverAjax Development With Dreamweaver
Ajax Development With DreamweaverAndreCharland
 
Socket applications
Socket applicationsSocket applications
Socket applicationsJoão Moura
 
Progressive web and the problem of JavaScript
Progressive web and the problem of JavaScriptProgressive web and the problem of JavaScript
Progressive web and the problem of JavaScriptChristian Heilmann
 
Future of Development and Deployment using Docker
Future of Development and Deployment using DockerFuture of Development and Deployment using Docker
Future of Development and Deployment using DockerTamer Abdul-Radi
 
Build and Deploy a Python Web App to Amazon in 30 Mins
Build and Deploy a Python Web App to Amazon in 30 MinsBuild and Deploy a Python Web App to Amazon in 30 Mins
Build and Deploy a Python Web App to Amazon in 30 MinsJeff Hull
 
Goodle Developer Days Madrid 2008 - Open Social Update
Goodle Developer Days Madrid 2008 - Open Social UpdateGoodle Developer Days Madrid 2008 - Open Social Update
Goodle Developer Days Madrid 2008 - Open Social UpdatePatrick Chanezon
 
GDD Japan 2009 - Designing OpenSocial Apps For Speed and Scale
GDD Japan 2009 - Designing OpenSocial Apps For Speed and ScaleGDD Japan 2009 - Designing OpenSocial Apps For Speed and Scale
GDD Japan 2009 - Designing OpenSocial Apps For Speed and ScalePatrick Chanezon
 
Beijing Perl Workshop 2008 Hiveminder Secret Sauce
Beijing Perl Workshop 2008 Hiveminder Secret SauceBeijing Perl Workshop 2008 Hiveminder Secret Sauce
Beijing Perl Workshop 2008 Hiveminder Secret SauceJesse Vincent
 
Android reverse engineering - Analyzing skype
Android reverse engineering - Analyzing skypeAndroid reverse engineering - Analyzing skype
Android reverse engineering - Analyzing skypeMário Almeida
 
Digital Fabrication Studio: 3D Scanning
Digital Fabrication Studio: 3D ScanningDigital Fabrication Studio: 3D Scanning
Digital Fabrication Studio: 3D ScanningMassimo Menichinelli
 
Developing for LinkedIn's Application Platform
Developing for LinkedIn's Application PlatformDeveloping for LinkedIn's Application Platform
Developing for LinkedIn's Application PlatformTaylor Singletary
 
Developing for Plone using ArchGenXML / ArgoUML
Developing for Plone using ArchGenXML / ArgoUMLDeveloping for Plone using ArchGenXML / ArgoUML
Developing for Plone using ArchGenXML / ArgoUMLJazkarta, Inc.
 
When To Use Ruby On Rails
When To Use Ruby On RailsWhen To Use Ruby On Rails
When To Use Ruby On Railsdosire
 

Similar to Ruby on Rails - The Best Track for your Start Up (20)

Intro To Django
Intro To DjangoIntro To Django
Intro To Django
 
From Idea to App (or “How we roll at Small Town Heroes”)
From Idea to App (or “How we roll at Small Town Heroes”)From Idea to App (or “How we roll at Small Town Heroes”)
From Idea to App (or “How we roll at Small Town Heroes”)
 
Leveling up your JavaScipt - DrupalJam 2017
Leveling up your JavaScipt - DrupalJam 2017Leveling up your JavaScipt - DrupalJam 2017
Leveling up your JavaScipt - DrupalJam 2017
 
Shifting Gears
Shifting GearsShifting Gears
Shifting Gears
 
Ajax Development With Dreamweaver
Ajax Development With DreamweaverAjax Development With Dreamweaver
Ajax Development With Dreamweaver
 
Socket applications
Socket applicationsSocket applications
Socket applications
 
Progressive web and the problem of JavaScript
Progressive web and the problem of JavaScriptProgressive web and the problem of JavaScript
Progressive web and the problem of JavaScript
 
JavaScript isn't evil.
JavaScript isn't evil.JavaScript isn't evil.
JavaScript isn't evil.
 
Future of Development and Deployment using Docker
Future of Development and Deployment using DockerFuture of Development and Deployment using Docker
Future of Development and Deployment using Docker
 
Seven Reasons for Code Bloat
Seven Reasons for Code BloatSeven Reasons for Code Bloat
Seven Reasons for Code Bloat
 
Build and Deploy a Python Web App to Amazon in 30 Mins
Build and Deploy a Python Web App to Amazon in 30 MinsBuild and Deploy a Python Web App to Amazon in 30 Mins
Build and Deploy a Python Web App to Amazon in 30 Mins
 
Goodle Developer Days Madrid 2008 - Open Social Update
Goodle Developer Days Madrid 2008 - Open Social UpdateGoodle Developer Days Madrid 2008 - Open Social Update
Goodle Developer Days Madrid 2008 - Open Social Update
 
GDD Japan 2009 - Designing OpenSocial Apps For Speed and Scale
GDD Japan 2009 - Designing OpenSocial Apps For Speed and ScaleGDD Japan 2009 - Designing OpenSocial Apps For Speed and Scale
GDD Japan 2009 - Designing OpenSocial Apps For Speed and Scale
 
Beijing Perl Workshop 2008 Hiveminder Secret Sauce
Beijing Perl Workshop 2008 Hiveminder Secret SauceBeijing Perl Workshop 2008 Hiveminder Secret Sauce
Beijing Perl Workshop 2008 Hiveminder Secret Sauce
 
Android reverse engineering - Analyzing skype
Android reverse engineering - Analyzing skypeAndroid reverse engineering - Analyzing skype
Android reverse engineering - Analyzing skype
 
Digital Fabrication Studio: 3D Scanning
Digital Fabrication Studio: 3D ScanningDigital Fabrication Studio: 3D Scanning
Digital Fabrication Studio: 3D Scanning
 
Developing for LinkedIn's Application Platform
Developing for LinkedIn's Application PlatformDeveloping for LinkedIn's Application Platform
Developing for LinkedIn's Application Platform
 
Building Web Hack Interfaces
Building Web Hack InterfacesBuilding Web Hack Interfaces
Building Web Hack Interfaces
 
Developing for Plone using ArchGenXML / ArgoUML
Developing for Plone using ArchGenXML / ArgoUMLDeveloping for Plone using ArchGenXML / ArgoUML
Developing for Plone using ArchGenXML / ArgoUML
 
When To Use Ruby On Rails
When To Use Ruby On RailsWhen To Use Ruby On Rails
When To Use Ruby On Rails
 

Recently uploaded

Repurposing LNG terminals for Hydrogen Ammonia: Feasibility and Cost Saving
Repurposing LNG terminals for Hydrogen Ammonia: Feasibility and Cost SavingRepurposing LNG terminals for Hydrogen Ammonia: Feasibility and Cost Saving
Repurposing LNG terminals for Hydrogen Ammonia: Feasibility and Cost SavingEdi Saputra
 
Strategize a Smooth Tenant-to-tenant Migration and Copilot Takeoff
Strategize a Smooth Tenant-to-tenant Migration and Copilot TakeoffStrategize a Smooth Tenant-to-tenant Migration and Copilot Takeoff
Strategize a Smooth Tenant-to-tenant Migration and Copilot Takeoffsammart93
 
Apidays New York 2024 - The Good, the Bad and the Governed by David O'Neill, ...
Apidays New York 2024 - The Good, the Bad and the Governed by David O'Neill, ...Apidays New York 2024 - The Good, the Bad and the Governed by David O'Neill, ...
Apidays New York 2024 - The Good, the Bad and the Governed by David O'Neill, ...apidays
 
Boost Fertility New Invention Ups Success Rates.pdf
Boost Fertility New Invention Ups Success Rates.pdfBoost Fertility New Invention Ups Success Rates.pdf
Boost Fertility New Invention Ups Success Rates.pdfsudhanshuwaghmare1
 
Workshop - Best of Both Worlds_ Combine KG and Vector search for enhanced R...
Workshop - Best of Both Worlds_ Combine  KG and Vector search for  enhanced R...Workshop - Best of Both Worlds_ Combine  KG and Vector search for  enhanced R...
Workshop - Best of Both Worlds_ Combine KG and Vector search for enhanced R...Neo4j
 
Partners Life - Insurer Innovation Award 2024
Partners Life - Insurer Innovation Award 2024Partners Life - Insurer Innovation Award 2024
Partners Life - Insurer Innovation Award 2024The Digital Insurer
 
Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024
Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024
Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024The Digital Insurer
 
Scaling API-first – The story of a global engineering organization
Scaling API-first – The story of a global engineering organizationScaling API-first – The story of a global engineering organization
Scaling API-first – The story of a global engineering organizationRadu Cotescu
 
Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...
Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...
Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...Drew Madelung
 
Manulife - Insurer Innovation Award 2024
Manulife - Insurer Innovation Award 2024Manulife - Insurer Innovation Award 2024
Manulife - Insurer Innovation Award 2024The Digital Insurer
 
Axa Assurance Maroc - Insurer Innovation Award 2024
Axa Assurance Maroc - Insurer Innovation Award 2024Axa Assurance Maroc - Insurer Innovation Award 2024
Axa Assurance Maroc - Insurer Innovation Award 2024The Digital Insurer
 
Tata AIG General Insurance Company - Insurer Innovation Award 2024
Tata AIG General Insurance Company - Insurer Innovation Award 2024Tata AIG General Insurance Company - Insurer Innovation Award 2024
Tata AIG General Insurance Company - Insurer Innovation Award 2024The Digital Insurer
 
2024: Domino Containers - The Next Step. News from the Domino Container commu...
2024: Domino Containers - The Next Step. News from the Domino Container commu...2024: Domino Containers - The Next Step. News from the Domino Container commu...
2024: Domino Containers - The Next Step. News from the Domino Container commu...Martijn de Jong
 
Deploy with confidence: VMware Cloud Foundation 5.1 on next gen Dell PowerEdg...
Deploy with confidence: VMware Cloud Foundation 5.1 on next gen Dell PowerEdg...Deploy with confidence: VMware Cloud Foundation 5.1 on next gen Dell PowerEdg...
Deploy with confidence: VMware Cloud Foundation 5.1 on next gen Dell PowerEdg...Principled Technologies
 
Connector Corner: Accelerate revenue generation using UiPath API-centric busi...
Connector Corner: Accelerate revenue generation using UiPath API-centric busi...Connector Corner: Accelerate revenue generation using UiPath API-centric busi...
Connector Corner: Accelerate revenue generation using UiPath API-centric busi...DianaGray10
 
Data Cloud, More than a CDP by Matt Robison
Data Cloud, More than a CDP by Matt RobisonData Cloud, More than a CDP by Matt Robison
Data Cloud, More than a CDP by Matt RobisonAnna Loughnan Colquhoun
 
Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers:  A Deep Dive into Serverless Spatial Data and FMECloud Frontiers:  A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FMESafe Software
 
Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...
Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...
Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...apidays
 
Polkadot JAM Slides - Token2049 - By Dr. Gavin Wood
Polkadot JAM Slides - Token2049 - By Dr. Gavin WoodPolkadot JAM Slides - Token2049 - By Dr. Gavin Wood
Polkadot JAM Slides - Token2049 - By Dr. Gavin WoodJuan lago vázquez
 
Why Teams call analytics are critical to your entire business
Why Teams call analytics are critical to your entire businessWhy Teams call analytics are critical to your entire business
Why Teams call analytics are critical to your entire businesspanagenda
 

Recently uploaded (20)

Repurposing LNG terminals for Hydrogen Ammonia: Feasibility and Cost Saving
Repurposing LNG terminals for Hydrogen Ammonia: Feasibility and Cost SavingRepurposing LNG terminals for Hydrogen Ammonia: Feasibility and Cost Saving
Repurposing LNG terminals for Hydrogen Ammonia: Feasibility and Cost Saving
 
Strategize a Smooth Tenant-to-tenant Migration and Copilot Takeoff
Strategize a Smooth Tenant-to-tenant Migration and Copilot TakeoffStrategize a Smooth Tenant-to-tenant Migration and Copilot Takeoff
Strategize a Smooth Tenant-to-tenant Migration and Copilot Takeoff
 
Apidays New York 2024 - The Good, the Bad and the Governed by David O'Neill, ...
Apidays New York 2024 - The Good, the Bad and the Governed by David O'Neill, ...Apidays New York 2024 - The Good, the Bad and the Governed by David O'Neill, ...
Apidays New York 2024 - The Good, the Bad and the Governed by David O'Neill, ...
 
Boost Fertility New Invention Ups Success Rates.pdf
Boost Fertility New Invention Ups Success Rates.pdfBoost Fertility New Invention Ups Success Rates.pdf
Boost Fertility New Invention Ups Success Rates.pdf
 
Workshop - Best of Both Worlds_ Combine KG and Vector search for enhanced R...
Workshop - Best of Both Worlds_ Combine  KG and Vector search for  enhanced R...Workshop - Best of Both Worlds_ Combine  KG and Vector search for  enhanced R...
Workshop - Best of Both Worlds_ Combine KG and Vector search for enhanced R...
 
Partners Life - Insurer Innovation Award 2024
Partners Life - Insurer Innovation Award 2024Partners Life - Insurer Innovation Award 2024
Partners Life - Insurer Innovation Award 2024
 
Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024
Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024
Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024
 
Scaling API-first – The story of a global engineering organization
Scaling API-first – The story of a global engineering organizationScaling API-first – The story of a global engineering organization
Scaling API-first – The story of a global engineering organization
 
Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...
Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...
Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...
 
Manulife - Insurer Innovation Award 2024
Manulife - Insurer Innovation Award 2024Manulife - Insurer Innovation Award 2024
Manulife - Insurer Innovation Award 2024
 
Axa Assurance Maroc - Insurer Innovation Award 2024
Axa Assurance Maroc - Insurer Innovation Award 2024Axa Assurance Maroc - Insurer Innovation Award 2024
Axa Assurance Maroc - Insurer Innovation Award 2024
 
Tata AIG General Insurance Company - Insurer Innovation Award 2024
Tata AIG General Insurance Company - Insurer Innovation Award 2024Tata AIG General Insurance Company - Insurer Innovation Award 2024
Tata AIG General Insurance Company - Insurer Innovation Award 2024
 
2024: Domino Containers - The Next Step. News from the Domino Container commu...
2024: Domino Containers - The Next Step. News from the Domino Container commu...2024: Domino Containers - The Next Step. News from the Domino Container commu...
2024: Domino Containers - The Next Step. News from the Domino Container commu...
 
Deploy with confidence: VMware Cloud Foundation 5.1 on next gen Dell PowerEdg...
Deploy with confidence: VMware Cloud Foundation 5.1 on next gen Dell PowerEdg...Deploy with confidence: VMware Cloud Foundation 5.1 on next gen Dell PowerEdg...
Deploy with confidence: VMware Cloud Foundation 5.1 on next gen Dell PowerEdg...
 
Connector Corner: Accelerate revenue generation using UiPath API-centric busi...
Connector Corner: Accelerate revenue generation using UiPath API-centric busi...Connector Corner: Accelerate revenue generation using UiPath API-centric busi...
Connector Corner: Accelerate revenue generation using UiPath API-centric busi...
 
Data Cloud, More than a CDP by Matt Robison
Data Cloud, More than a CDP by Matt RobisonData Cloud, More than a CDP by Matt Robison
Data Cloud, More than a CDP by Matt Robison
 
Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers:  A Deep Dive into Serverless Spatial Data and FMECloud Frontiers:  A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FME
 
Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...
Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...
Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...
 
Polkadot JAM Slides - Token2049 - By Dr. Gavin Wood
Polkadot JAM Slides - Token2049 - By Dr. Gavin WoodPolkadot JAM Slides - Token2049 - By Dr. Gavin Wood
Polkadot JAM Slides - Token2049 - By Dr. Gavin Wood
 
Why Teams call analytics are critical to your entire business
Why Teams call analytics are critical to your entire businessWhy Teams call analytics are critical to your entire business
Why Teams call analytics are critical to your entire business
 

Ruby on Rails - The Best Track for your Start Up

  • 2. Every start up begins with a dream
  • 5. You need to plan & build your idea
  • 6. And the best way to do that is...
  • 7.
  • 10. Code is Poetry -WORDPRESS
  • 11. Don’t code. Just think. What everything will be like? How would it rhyme?
  • 12. user has_one :shop user has_many :products shop belongs_to :user shop has_many :shelves products belong_to :users shelf belongs_to :shop
  • 13.
  • 14. user has_one :shop user has_many :products shop belongs_to :user shop has_many :shelves products belong_to :users shelf belongs_to :shop
  • 16. ./script/generate scaffold Product name:string action:string price:integer picture:string summary:text description:text
  • 17.
  • 18. C reate R ead U pdate D elete
  • 19. A place to start. A place to learn.
  • 20. script/console Its alive! Its alive! Its alive!...or is it?
  • 22. Loading development environment (Rails 2.0.2)... >> Product => Product(id: integer, name: string, action: string, price: integer, picture: string, summary: text, description: text, created_at: datetime, updated_at: datetime, user_id: integer)
  • 23. Loading development environment (Rails 2.0.2)... >> Product => Product(id: integer, name: string, action: string, price: integer, picture: string, summary: text, description: text, created_at: datetime, updated_at: datetime, user_id: integer) >> Product.find(59) => #<Product id: 59, name: quot;Audi TTquot;, action: quot;sellquot;, price: 100000, picture: quot;Audi_TT.jpgquot;, summary: quot;Its a car!!quot;, description: quot;lorem ipsum dolor sit ametquot;, created_at: quot;2008-06-07 12:36:32quot;, updated_at: quot;2008-06-07 12:36:32quot;, user_id: 7>
  • 24. Loading development environment (Rails 2.0.2)... >> Product => Product(id: integer, name: string, action: string, price: integer, picture: string, summary: text, description: text, created_at: datetime, updated_at: datetime, user_id: integer) >> Product.find(59) => #<Product id: 59, name: quot;Audi TTquot;, action: quot;sellquot;, price: 100000, picture: quot;Audi_TT.jpgquot;, summary: quot;Its a car!!quot;, description: quot;lorem ipsum dolor sit ametquot;, created_at: quot;2008-06-07 12:36:32quot;, updated_at: quot;2008-06-07 12:36:32quot;, user_id: 7>
  • 25. Loading development environment (Rails 2.0.2)... >> Product => Product(id: integer, name: string, action: string, price: integer, picture: string, summary: text, description: text, created_at: datetime, updated_at: datetime, user_id: integer) >> Product.find(59) => #<Product id: 59, name: quot;Audi TTquot;, action: quot;sellquot;, price: 100000, picture: quot;Audi_TT.jpgquot;, summary: quot;Its a car!!quot;, description: quot;lorem ipsum dolor sit ametquot;, created_at: quot;2008-06-07 12:36:32quot;, updated_at: quot;2008-06-07 12:36:32quot;, user_id: 7> >> Product.find(59).user => #<User id: 7, login: quot;Prateekquot;, email: quot;prtksxna@gmail.comquot;, crypted_password: quot;a1cb20b35813eaf0c91793595078ab6030a950c3quot;, salt: quot;3621a974b606c816527d7f25cd83c6ea0b9a13c0quot;, created_at: quot;2008-06-07 12:34:47quot;, updated_at: quot;2008-06-07 12:34:47quot;, remember_token: nil, remember_token_expires_at: nil>
  • 26. Loading development environment (Rails 2.0.2)... >> Product => Product(id: integer, name: string, action: string, price: integer, picture: string, summary: text, description: text, created_at: datetime, updated_at: datetime, user_id: integer) >> Product.find(59) => #<Product id: 59, name: quot;Audi TTquot;, action: quot;sellquot;, price: 100000, picture: quot;Audi_TT.jpgquot;, summary: quot;Its a car!!quot;, description: quot;lorem ipsum dolor sit ametquot;, created_at: quot;2008-06-07 12:36:32quot;, updated_at: quot;2008-06-07 12:36:32quot;, user_id: 7> >> Product.find(59).user => #<User id: 7, login: quot;Prateekquot;, email: quot;prtksxna@gmail.comquot;, crypted_password: quot;a1cb20b35813eaf0c91793595078ab6030a950c3quot;, salt: quot;3621a974b606c816527d7f25cd83c6ea0b9a13c0quot;, created_at: quot;2008-06-07 12:34:47quot;, updated_at: quot;2008-06-07 12:34:47quot;, remember_token: nil, remember_token_expires_at: nil>
  • 27. script/plugin Walk with me & you’ll learn to walk
  • 29. script/plugin source http://svn.techno-weenie.net/projects/plugins script/plugin install restful_authentication script/generate authenticated user sessions
  • 32. git clone git://github.com/Lipsiasoft/lipsiadmin.git vendor/ plugins/lipsiadmin script/generate lipsiadmin
  • 33.
  • 34. Ready to use code. Highly tested. Learning Point for beginners.
  • 35.
  • 42. Pretend that you went on a vacation
  • 43. There is help along the way...
  • 44. irc.freenode.net #rubyonrails http://groups.google.com/group/rubyonrails-talk API http://api.rubyonrails.org/ http://wiki.rubyonrails.org/rails
  • 48. Image Credits.. • Day dreaming - http://www.flickr.com/photos/klamont/562876285/ • Warren Buffet - http://www.flickr.com/photos/ 7933170@N03/984596632/ • Eva Rees - http://www.flickr.com/photos/evarees/2050595096/ • Boot Load - http://www.flickr.com/photos/bootload/221087443/ • Justing Palmer - http://www.flickr.com/photos/encyte/56883622/sizes/l • Mike Autrey - http://www.flickr.com/photos/mikeautry1/906447964/ sizes/o/ mostly Flickr...