Successfully reported this slideshow.
We use your LinkedIn profile and activity data to personalize ads and to show you more relevant ads. You can change your ad preferences anytime.
Who’s Ruby and
What’s Rails
Allison Sheren
twitter: @allie_p
the same
!=
thing
The only
search
result:
Not ruby

Not ruby

This is ruby

Not ruby

Not ruby
Built off of Ruby (the original), there
are expansion packs (Rails). Rails is an
open source web application framework
bui...
The basics:
Ruby uses IRB,
Gems, and is
an objectoriented
programming
language

Like resource
cards, dice,
resource map
pi...
What were
all those
words you
just said?
Breaking it down

- Gems are: a packaged library
or application.
Rails is a gem that you use
with Ruby. Who has a favorite...
The New Stuff!

- follows rules
like MVC and DRY
- uses Rails
console
- can query a
database
- uses things like
rails gene...
What?!
- MVC =
model, view,
controller
- DRY = Don’t
repeat
yourself
Scaffoldin
g
Same blueprint,
Different house
Rails
combines Ruby
with HTML,
CSS, and
Javascript to
create a web
app
This is an
example of
html with
ruby code.
It’s view
code which
is in rails
but not
ruby.
What to learn
first?
My recommendation:
Learn ruby first
then add in rails
BUT
there are better
tutorials out there
for ru...
Upcoming SlideShare
Loading in …5
×

Ruby versus Rails

484 views

Published on

Telling the difference between Ruby and Rails and how they work together. Useful for new programmers.

Published in: Technology
  • Be the first to comment

  • Be the first to like this

Ruby versus Rails

  1. 1. Who’s Ruby and What’s Rails Allison Sheren twitter: @allie_p
  2. 2. the same != thing
  3. 3. The only search result:
  4. 4. Not ruby Not ruby This is ruby Not ruby Not ruby
  5. 5. Built off of Ruby (the original), there are expansion packs (Rails). Rails is an open source web application framework built on Ruby.
  6. 6. The basics: Ruby uses IRB, Gems, and is an objectoriented programming language Like resource cards, dice, resource map pieces, houses, cities, and roads.
  7. 7. What were all those words you just said?
  8. 8. Breaking it down - Gems are: a packaged library or application. Rails is a gem that you use with Ruby. Who has a favorite gem? Bootstrap l l ky ss Sunspot e afo S J und ati Compass quiet asseton s nsack Ra - IRB is: interactive ruby. Lets you try out things using the command line
  9. 9. The New Stuff! - follows rules like MVC and DRY - uses Rails console - can query a database - uses things like rails generate (outputs generic code) or a scaffold Includes special things like ships, extra water, Star Trek related pieces, etc.
  10. 10. What?! - MVC = model, view, controller - DRY = Don’t repeat yourself
  11. 11. Scaffoldin g Same blueprint, Different house
  12. 12. Rails combines Ruby with HTML, CSS, and Javascript to create a web app
  13. 13. This is an example of html with ruby code. It’s view code which is in rails but not ruby.
  14. 14. What to learn first? My recommendation: Learn ruby first then add in rails BUT there are better tutorials out there for ruby on rails that allow you to actually build something

×