Learning Ruby, with Rails in mind.
Ruby
Permalink
Failed to load latest commit information.
classes
end end folder was missing from the presentation Mar 5, 2011
exceptions Chapter Exceptions Feb 23, 2011
flow Invalid for Feb 27, 2011
installing Chapter Installing Feb 24, 2011
introduction
overview Chapter Overview / Object Feb 24, 2011
procs Do not center these slides Feb 27, 2011
rack Sinatra & Rack Feb 25, 2011
sinatra
start About Mar 7, 2011
syntax Classes & Syntax Feb 25, 2011
testing Rename test Feb 25, 2011
types Fixed typo (closes #1) Mar 8, 2011
Gemfile Suggest to use Bundler Mar 7, 2011
Gemfile.lock herokuized Mar 7, 2011
README.md Suggest to use Bundler Mar 7, 2011
config.ru herokuized Mar 7, 2011
showoff.json About Mar 7, 2011
styles.css

README.md

Ruby 4 Rails

About this presentation

FRIEND: Hey Simone, I want to start learning Rails.

ME: Really?

FRIEND: You know, I have been working in PHP and Symfony for a while and now I want to try something new.

ME: That's cool.

FRIEND: Could you help me studying Rails?

ME: Sure. But if you really want to learn Rails, you need to start from Ruby.

FRIEND: I worked with PHP and several other languages. Is Ruby really that difficult?

ME: Learning the Ruby syntax is not that difficult. Thinking like a Rubyist is the real challenge. If you really want to appreciate Ruby, you must understand the Ruby ecosystem and the philosophy behind the language.

FRIEND: Ok. Could you teach me that?

ME: I can start giving you some directions, then you'll have to start working on it.

ME: I'm going to prepare a brief introduction to Ruby. I'll try to extract the most important features of the language, keeping an eye on Rails since that is your ultimate goal.

FRIEND: Cool. How long it will take.

ME: Let's schedule one full day. I'll show you the presentation and we'll start digging into Ruby. At the end, we'll try to summarize everything by giving a look at Rack and creating a small MVC application using the awesome Sinatra framework. It is not Rails, but it's definitely a good starting point. We can't concentrate too much concepts into a single session.

FRIEND: I agree.

FRIEND: See you on Saturday, I can't wait to start playing with Ruby.

This is that presentation. Enjoy Ruby!

ShowOff

This is a ShowOff presentation (http://github.com/schacon/showoff)

If you want to see it, you need to install showoff and all its dependencies. The most simple way is to use bundler.

$ gem install bundler

Clone the project and install the dependencies.

$ git clone https://github.com/weppos/ruby-4-rails.showoff.git
$ cd ruby-4-rails.showoff
$ bundle install

Then run showoff it in this directory

$ showoff serve

Now you should be able to go to http://localhost:9090 to view the presentation.

License

License

Ruby 4 Rails is licensed under a Creative Commons Attribution-NonCommercial-ShareAlike 3.0 Unported License.