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 Rails Best Track For Startup Joyride

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 Rails Best Track For Startup Joyride (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

Pigging Solutions in Pet Food Manufacturing
Pigging Solutions in Pet Food ManufacturingPigging Solutions in Pet Food Manufacturing
Pigging Solutions in Pet Food ManufacturingPigging Solutions
 
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 Business Process via MuleSoft Composer | Bangalore MuleSoft Meetup...
Automating Business Process via MuleSoft Composer | Bangalore MuleSoft Meetup...Automating Business Process via MuleSoft Composer | Bangalore MuleSoft Meetup...
Automating Business Process via MuleSoft Composer | Bangalore MuleSoft Meetup...shyamraj55
 
[2024]Digital Global Overview Report 2024 Meltwater.pdf
[2024]Digital Global Overview Report 2024 Meltwater.pdf[2024]Digital Global Overview Report 2024 Meltwater.pdf
[2024]Digital Global Overview Report 2024 Meltwater.pdfhans926745
 
08448380779 Call Girls In Diplomatic Enclave Women Seeking Men
08448380779 Call Girls In Diplomatic Enclave Women Seeking Men08448380779 Call Girls In Diplomatic Enclave Women Seeking Men
08448380779 Call Girls In Diplomatic Enclave Women Seeking MenDelhi Call girls
 
Salesforce Community Group Quito, Salesforce 101
Salesforce Community Group Quito, Salesforce 101Salesforce Community Group Quito, Salesforce 101
Salesforce Community Group Quito, Salesforce 101Paola De la Torre
 
GenCyber Cyber Security Day Presentation
GenCyber Cyber Security Day PresentationGenCyber Cyber Security Day Presentation
GenCyber Cyber Security Day PresentationMichael W. Hawkins
 
Transforming Data Streams with Kafka Connect: An Introduction to Single Messa...
Transforming Data Streams with Kafka Connect: An Introduction to Single Messa...Transforming Data Streams with Kafka Connect: An Introduction to Single Messa...
Transforming Data Streams with Kafka Connect: An Introduction to Single Messa...HostedbyConfluent
 
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
 
Azure Monitor & Application Insight to monitor Infrastructure & Application
Azure Monitor & Application Insight to monitor Infrastructure & ApplicationAzure Monitor & Application Insight to monitor Infrastructure & Application
Azure Monitor & Application Insight to monitor Infrastructure & ApplicationAndikSusilo4
 
Understanding the Laravel MVC Architecture
Understanding the Laravel MVC ArchitectureUnderstanding the Laravel MVC Architecture
Understanding the Laravel MVC ArchitecturePixlogix Infotech
 
Factors to Consider When Choosing Accounts Payable Services Providers.pptx
Factors to Consider When Choosing Accounts Payable Services Providers.pptxFactors to Consider When Choosing Accounts Payable Services Providers.pptx
Factors to Consider When Choosing Accounts Payable Services Providers.pptxKatpro Technologies
 
Beyond Boundaries: Leveraging No-Code Solutions for Industry Innovation
Beyond Boundaries: Leveraging No-Code Solutions for Industry InnovationBeyond Boundaries: Leveraging No-Code Solutions for Industry Innovation
Beyond Boundaries: Leveraging No-Code Solutions for Industry InnovationSafe Software
 
Breaking the Kubernetes Kill Chain: Host Path Mount
Breaking the Kubernetes Kill Chain: Host Path MountBreaking the Kubernetes Kill Chain: Host Path Mount
Breaking the Kubernetes Kill Chain: Host Path MountPuma Security, LLC
 
Injustice - Developers Among Us (SciFiDevCon 2024)
Injustice - Developers Among Us (SciFiDevCon 2024)Injustice - Developers Among Us (SciFiDevCon 2024)
Injustice - Developers Among Us (SciFiDevCon 2024)Allon Mureinik
 
Pigging Solutions Piggable Sweeping Elbows
Pigging Solutions Piggable Sweeping ElbowsPigging Solutions Piggable Sweeping Elbows
Pigging Solutions Piggable Sweeping ElbowsPigging Solutions
 
Transcript: #StandardsGoals for 2024: What’s new for BISAC - Tech Forum 2024
Transcript: #StandardsGoals for 2024: What’s new for BISAC - Tech Forum 2024Transcript: #StandardsGoals for 2024: What’s new for BISAC - Tech Forum 2024
Transcript: #StandardsGoals for 2024: What’s new for BISAC - Tech Forum 2024BookNet Canada
 
Handwritten Text Recognition for manuscripts and early printed texts
Handwritten Text Recognition for manuscripts and early printed textsHandwritten Text Recognition for manuscripts and early printed texts
Handwritten Text Recognition for manuscripts and early printed textsMaria Levchenko
 
WhatsApp 9892124323 ✓Call Girls In Kalyan ( Mumbai ) secure service
WhatsApp 9892124323 ✓Call Girls In Kalyan ( Mumbai ) secure serviceWhatsApp 9892124323 ✓Call Girls In Kalyan ( Mumbai ) secure service
WhatsApp 9892124323 ✓Call Girls In Kalyan ( Mumbai ) secure servicePooja Nehwal
 
Human Factors of XR: Using Human Factors to Design XR Systems
Human Factors of XR: Using Human Factors to Design XR SystemsHuman Factors of XR: Using Human Factors to Design XR Systems
Human Factors of XR: Using Human Factors to Design XR SystemsMark Billinghurst
 

Recently uploaded (20)

Pigging Solutions in Pet Food Manufacturing
Pigging Solutions in Pet Food ManufacturingPigging Solutions in Pet Food Manufacturing
Pigging Solutions in Pet Food Manufacturing
 
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 Business Process via MuleSoft Composer | Bangalore MuleSoft Meetup...
Automating Business Process via MuleSoft Composer | Bangalore MuleSoft Meetup...Automating Business Process via MuleSoft Composer | Bangalore MuleSoft Meetup...
Automating Business Process via MuleSoft Composer | Bangalore MuleSoft Meetup...
 
[2024]Digital Global Overview Report 2024 Meltwater.pdf
[2024]Digital Global Overview Report 2024 Meltwater.pdf[2024]Digital Global Overview Report 2024 Meltwater.pdf
[2024]Digital Global Overview Report 2024 Meltwater.pdf
 
08448380779 Call Girls In Diplomatic Enclave Women Seeking Men
08448380779 Call Girls In Diplomatic Enclave Women Seeking Men08448380779 Call Girls In Diplomatic Enclave Women Seeking Men
08448380779 Call Girls In Diplomatic Enclave Women Seeking Men
 
Salesforce Community Group Quito, Salesforce 101
Salesforce Community Group Quito, Salesforce 101Salesforce Community Group Quito, Salesforce 101
Salesforce Community Group Quito, Salesforce 101
 
GenCyber Cyber Security Day Presentation
GenCyber Cyber Security Day PresentationGenCyber Cyber Security Day Presentation
GenCyber Cyber Security Day Presentation
 
Transforming Data Streams with Kafka Connect: An Introduction to Single Messa...
Transforming Data Streams with Kafka Connect: An Introduction to Single Messa...Transforming Data Streams with Kafka Connect: An Introduction to Single Messa...
Transforming Data Streams with Kafka Connect: An Introduction to Single Messa...
 
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
 
Azure Monitor & Application Insight to monitor Infrastructure & Application
Azure Monitor & Application Insight to monitor Infrastructure & ApplicationAzure Monitor & Application Insight to monitor Infrastructure & Application
Azure Monitor & Application Insight to monitor Infrastructure & Application
 
Understanding the Laravel MVC Architecture
Understanding the Laravel MVC ArchitectureUnderstanding the Laravel MVC Architecture
Understanding the Laravel MVC Architecture
 
Factors to Consider When Choosing Accounts Payable Services Providers.pptx
Factors to Consider When Choosing Accounts Payable Services Providers.pptxFactors to Consider When Choosing Accounts Payable Services Providers.pptx
Factors to Consider When Choosing Accounts Payable Services Providers.pptx
 
Beyond Boundaries: Leveraging No-Code Solutions for Industry Innovation
Beyond Boundaries: Leveraging No-Code Solutions for Industry InnovationBeyond Boundaries: Leveraging No-Code Solutions for Industry Innovation
Beyond Boundaries: Leveraging No-Code Solutions for Industry Innovation
 
Breaking the Kubernetes Kill Chain: Host Path Mount
Breaking the Kubernetes Kill Chain: Host Path MountBreaking the Kubernetes Kill Chain: Host Path Mount
Breaking the Kubernetes Kill Chain: Host Path Mount
 
Injustice - Developers Among Us (SciFiDevCon 2024)
Injustice - Developers Among Us (SciFiDevCon 2024)Injustice - Developers Among Us (SciFiDevCon 2024)
Injustice - Developers Among Us (SciFiDevCon 2024)
 
Pigging Solutions Piggable Sweeping Elbows
Pigging Solutions Piggable Sweeping ElbowsPigging Solutions Piggable Sweeping Elbows
Pigging Solutions Piggable Sweeping Elbows
 
Transcript: #StandardsGoals for 2024: What’s new for BISAC - Tech Forum 2024
Transcript: #StandardsGoals for 2024: What’s new for BISAC - Tech Forum 2024Transcript: #StandardsGoals for 2024: What’s new for BISAC - Tech Forum 2024
Transcript: #StandardsGoals for 2024: What’s new for BISAC - Tech Forum 2024
 
Handwritten Text Recognition for manuscripts and early printed texts
Handwritten Text Recognition for manuscripts and early printed textsHandwritten Text Recognition for manuscripts and early printed texts
Handwritten Text Recognition for manuscripts and early printed texts
 
WhatsApp 9892124323 ✓Call Girls In Kalyan ( Mumbai ) secure service
WhatsApp 9892124323 ✓Call Girls In Kalyan ( Mumbai ) secure serviceWhatsApp 9892124323 ✓Call Girls In Kalyan ( Mumbai ) secure service
WhatsApp 9892124323 ✓Call Girls In Kalyan ( Mumbai ) secure service
 
Human Factors of XR: Using Human Factors to Design XR Systems
Human Factors of XR: Using Human Factors to Design XR SystemsHuman Factors of XR: Using Human Factors to Design XR Systems
Human Factors of XR: Using Human Factors to Design XR Systems
 

Rails Best Track For Startup Joyride

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