0
EXTENDING RAILS                             GEMS AND PLUGINSWednesday, October 5, 2011
TYPES OF EXTENSIONS         • Plugins / Gems         • intializers            • dynamic configuration            • “monkey ...
GEMS VS. PLUGINS         • Older versions of Rails required a plugin           for some extensions         • If there is b...
IS IT GOOD?         1. Unlike proprietary software, great extensions don’t            require the backing of a corporation...
USING GEMS          Often as simple as           1. Update the gemfile           2. bundle install           3. rails g wha...
Upcoming SlideShare
Loading in...5
×

Extending rails

948

Published on

An overview on

Published in: Technology, Education
0 Comments
0 Likes
Statistics
Notes
  • Be the first to comment

  • Be the first to like this

No Downloads
Views
Total Views
948
On Slideshare
0
From Embeds
0
Number of Embeds
0
Actions
Shares
0
Downloads
10
Comments
0
Likes
0
Embeds 0
No embeds

No notes for slide

Transcript of "Extending rails"

  1. 1. EXTENDING RAILS GEMS AND PLUGINSWednesday, October 5, 2011
  2. 2. TYPES OF EXTENSIONS • Plugins / Gems • intializers • dynamic configuration • “monkey patching”Wednesday, October 5, 2011
  3. 3. GEMS VS. PLUGINS • Older versions of Rails required a plugin for some extensions • If there is both a plugin and a gem, use the gem • If there is only a plugin, it is likely a sign of inactivityWednesday, October 5, 2011
  4. 4. IS IT GOOD? 1. Unlike proprietary software, great extensions don’t require the backing of a corporation e.g. tenderlove (Nokogiri), carlhuda (Bundler) 2. On www.rubygems.org? Number of downloads? 3. Source on github? Number of forks? 4. Multiple committers? Freshness of activity? 5. Tests? Do tests pass? 6. Is there a mailing list? Activity? 7. Is there an issues list? Activity?Wednesday, October 5, 2011
  5. 5. USING GEMS Often as simple as 1. Update the gemfile 2. bundle install 3. rails g whatever For example: https://github.com/blazingcloud/devise-exampleWednesday, October 5, 2011
  1. A particular slide catching your eye?

    Clipping is a handy way to collect important slides you want to go back to later.

×