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

Powerful Google developer tools for immediate impact! (2023-24 C)
Powerful Google developer tools for immediate impact! (2023-24 C)Powerful Google developer tools for immediate impact! (2023-24 C)
Powerful Google developer tools for immediate impact! (2023-24 C)wesley chun
 
Understanding Discord NSFW Servers A Guide for Responsible Users.pdf
Understanding Discord NSFW Servers A Guide for Responsible Users.pdfUnderstanding Discord NSFW Servers A Guide for Responsible Users.pdf
Understanding Discord NSFW Servers A Guide for Responsible Users.pdfUK Journal
 
Artificial Intelligence: Facts and Myths
Artificial Intelligence: Facts and MythsArtificial Intelligence: Facts and Myths
Artificial Intelligence: Facts and MythsJoaquim Jorge
 
CNv6 Instructor Chapter 6 Quality of Service
CNv6 Instructor Chapter 6 Quality of ServiceCNv6 Instructor Chapter 6 Quality of Service
CNv6 Instructor Chapter 6 Quality of Servicegiselly40
 
Exploring the Future Potential of AI-Enabled Smartphone Processors
Exploring the Future Potential of AI-Enabled Smartphone ProcessorsExploring the Future Potential of AI-Enabled Smartphone Processors
Exploring the Future Potential of AI-Enabled Smartphone Processorsdebabhi2
 
Finology Group – Insurtech Innovation Award 2024
Finology Group – Insurtech Innovation Award 2024Finology Group – Insurtech Innovation Award 2024
Finology Group – Insurtech Innovation Award 2024The Digital Insurer
 
Tech Trends Report 2024 Future Today Institute.pdf
Tech Trends Report 2024 Future Today Institute.pdfTech Trends Report 2024 Future Today Institute.pdf
Tech Trends Report 2024 Future Today Institute.pdfhans926745
 
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
 
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...Miguel Araújo
 
presentation ICT roal in 21st century education
presentation ICT roal in 21st century educationpresentation ICT roal in 21st century education
presentation ICT roal in 21st century educationjfdjdjcjdnsjd
 
What Are The Drone Anti-jamming Systems Technology?
What Are The Drone Anti-jamming Systems Technology?What Are The Drone Anti-jamming Systems Technology?
What Are The Drone Anti-jamming Systems Technology?Antenna Manufacturer Coco
 
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
 
How to convert PDF to text with Nanonets
How to convert PDF to text with NanonetsHow to convert PDF to text with Nanonets
How to convert PDF to text with Nanonetsnaman860154
 
Automating Google Workspace (GWS) & more with Apps Script
Automating Google Workspace (GWS) & more with Apps ScriptAutomating Google Workspace (GWS) & more with Apps Script
Automating Google Workspace (GWS) & more with Apps Scriptwesley chun
 
Histor y of HAM Radio presentation slide
Histor y of HAM Radio presentation slideHistor y of HAM Radio presentation slide
Histor y of HAM Radio presentation slidevu2urc
 
IAC 2024 - IA Fast Track to Search Focused AI Solutions
IAC 2024 - IA Fast Track to Search Focused AI SolutionsIAC 2024 - IA Fast Track to Search Focused AI Solutions
IAC 2024 - IA Fast Track to Search Focused AI SolutionsEnterprise Knowledge
 
Raspberry Pi 5: Challenges and Solutions in Bringing up an OpenGL/Vulkan Driv...
Raspberry Pi 5: Challenges and Solutions in Bringing up an OpenGL/Vulkan Driv...Raspberry Pi 5: Challenges and Solutions in Bringing up an OpenGL/Vulkan Driv...
Raspberry Pi 5: Challenges and Solutions in Bringing up an OpenGL/Vulkan Driv...Igalia
 
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
 
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
 
From Event to Action: Accelerate Your Decision Making with Real-Time Automation
From Event to Action: Accelerate Your Decision Making with Real-Time AutomationFrom Event to Action: Accelerate Your Decision Making with Real-Time Automation
From Event to Action: Accelerate Your Decision Making with Real-Time AutomationSafe Software
 

Recently uploaded (20)

Powerful Google developer tools for immediate impact! (2023-24 C)
Powerful Google developer tools for immediate impact! (2023-24 C)Powerful Google developer tools for immediate impact! (2023-24 C)
Powerful Google developer tools for immediate impact! (2023-24 C)
 
Understanding Discord NSFW Servers A Guide for Responsible Users.pdf
Understanding Discord NSFW Servers A Guide for Responsible Users.pdfUnderstanding Discord NSFW Servers A Guide for Responsible Users.pdf
Understanding Discord NSFW Servers A Guide for Responsible Users.pdf
 
Artificial Intelligence: Facts and Myths
Artificial Intelligence: Facts and MythsArtificial Intelligence: Facts and Myths
Artificial Intelligence: Facts and Myths
 
CNv6 Instructor Chapter 6 Quality of Service
CNv6 Instructor Chapter 6 Quality of ServiceCNv6 Instructor Chapter 6 Quality of Service
CNv6 Instructor Chapter 6 Quality of Service
 
Exploring the Future Potential of AI-Enabled Smartphone Processors
Exploring the Future Potential of AI-Enabled Smartphone ProcessorsExploring the Future Potential of AI-Enabled Smartphone Processors
Exploring the Future Potential of AI-Enabled Smartphone Processors
 
Finology Group – Insurtech Innovation Award 2024
Finology Group – Insurtech Innovation Award 2024Finology Group – Insurtech Innovation Award 2024
Finology Group – Insurtech Innovation Award 2024
 
Tech Trends Report 2024 Future Today Institute.pdf
Tech Trends Report 2024 Future Today Institute.pdfTech Trends Report 2024 Future Today Institute.pdf
Tech Trends Report 2024 Future Today Institute.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...
 
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...
 
presentation ICT roal in 21st century education
presentation ICT roal in 21st century educationpresentation ICT roal in 21st century education
presentation ICT roal in 21st century education
 
What Are The Drone Anti-jamming Systems Technology?
What Are The Drone Anti-jamming Systems Technology?What Are The Drone Anti-jamming Systems Technology?
What Are The Drone Anti-jamming Systems Technology?
 
Partners Life - Insurer Innovation Award 2024
Partners Life - Insurer Innovation Award 2024Partners Life - Insurer Innovation Award 2024
Partners Life - Insurer Innovation Award 2024
 
How to convert PDF to text with Nanonets
How to convert PDF to text with NanonetsHow to convert PDF to text with Nanonets
How to convert PDF to text with Nanonets
 
Automating Google Workspace (GWS) & more with Apps Script
Automating Google Workspace (GWS) & more with Apps ScriptAutomating Google Workspace (GWS) & more with Apps Script
Automating Google Workspace (GWS) & more with Apps Script
 
Histor y of HAM Radio presentation slide
Histor y of HAM Radio presentation slideHistor y of HAM Radio presentation slide
Histor y of HAM Radio presentation slide
 
IAC 2024 - IA Fast Track to Search Focused AI Solutions
IAC 2024 - IA Fast Track to Search Focused AI SolutionsIAC 2024 - IA Fast Track to Search Focused AI Solutions
IAC 2024 - IA Fast Track to Search Focused AI Solutions
 
Raspberry Pi 5: Challenges and Solutions in Bringing up an OpenGL/Vulkan Driv...
Raspberry Pi 5: Challenges and Solutions in Bringing up an OpenGL/Vulkan Driv...Raspberry Pi 5: Challenges and Solutions in Bringing up an OpenGL/Vulkan Driv...
Raspberry Pi 5: Challenges and Solutions in Bringing up an OpenGL/Vulkan Driv...
 
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...
 
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
 
From Event to Action: Accelerate Your Decision Making with Real-Time Automation
From Event to Action: Accelerate Your Decision Making with Real-Time AutomationFrom Event to Action: Accelerate Your Decision Making with Real-Time Automation
From Event to Action: Accelerate Your Decision Making with Real-Time Automation
 

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...