Skip to content

This is the repo for the talk Ruby Libraries Important for Rails from RailsConf 2013.

Notifications You must be signed in to change notification settings

davidsouza/ruby-libraries

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Ruby Libraries Important for Rails

This is the repo for the talk Ruby Libraries Important for Rails from RailsConf 2013.

Important libraries

Here are some important Ruby libraries for Rails (links are to the Ruby 2.0 docs, but the results are virtually the same for Ruby 1.9.3):

Classes

Modules

Workshop

The details of the workshop depend on your background.

Option 1: Use irb

I suggest that beginning students pick a class or module to learn and then use irb to work through the documentation examples. Post questions to the RailsConf tutorial chat room.

Option 2: Use RSpec

If you are comfortable with writing tests, I recommend that you clone the ruby-libraries Git repository and use the sample spec file to write documentation of your own.

First, clone the repo:

git clone https://github.com/mhartl/ruby-libraries.git

Put your GitHub username in the RailsConf tutorial chat room and I'll add you as a collaborator on the repo so that you can push to it.

Next, pick a class or module to learn and make a spec for it (prefixing it with your username to avoid clashes):

cp spec/sample_spec.rb spec/<username>_<class or module>_spec.rb

Follow the model from the sample spec to help you get started.

When you have changes you want to share, add the file and push it up:

git add spec/
git commit -am "Add tests for <class or module>"
git push

If you want, post a link to the commit in the RailsConf tutorial chat room so that I can pull your changes and run the resulting tests.

About

This is the repo for the talk Ruby Libraries Important for Rails from RailsConf 2013.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published