SlideShare a Scribd company logo
EXTENDING RAILS
                             GEMS AND PLUGINS




Wednesday, October 5, 2011
TYPES OF EXTENSIONS
         • Plugins / Gems
         • intializers
            • dynamic configuration
            • “monkey patching”




Wednesday, October 5, 2011
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 inactivity




Wednesday, October 5, 2011
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
USING GEMS
          Often as simple as
           1. Update the gemfile
           2. bundle install
           3. rails g whatever

          For example:
          https://github.com/blazingcloud/devise-example




Wednesday, October 5, 2011

More Related Content

PDF
Plugin For Your Blog In Libcamp#2
PDF
Glass fish rubyconf-india-2010-Arun gupta
PDF
Lets build-ruby-app-server: Vineet tyagi
PPT
Android & Backup-Restore SMS
PPT
Hr slide 1
PPTX
Twitter ppt18.12.2010
PDF
Caridy patino - node-js
PDF
Conquistando el Servidor con Node.JS
Plugin For Your Blog In Libcamp#2
Glass fish rubyconf-india-2010-Arun gupta
Lets build-ruby-app-server: Vineet tyagi
Android & Backup-Restore SMS
Hr slide 1
Twitter ppt18.12.2010
Caridy patino - node-js
Conquistando el Servidor con Node.JS

Similar to Extending rails (20)

PDF
Building Languages for the JVM - StarTechConf 2011
PDF
Puppet camp europe 2011 hackability
PDF
Clouds against the Floods (RubyConfBR2011)
PDF
Bonfire... How'd You Do That?! - AtlasCamp 2011
PDF
Are Your Tests Really Helping You?
PDF
Sean coates fifty things and tricks, confoo 2011
PDF
Twitter streamingapi rubymongodbv2
PDF
Consuming the Twitter Streaming API with Ruby and MongoDB
PDF
UCLUG TorqueBox - 03/08/2011
PDF
High quality iOS development
PDF
Fred Spencer: Designing a Great UI
PDF
Gaelyk - Guillaume Laforge - GR8Conf Europe 2011
PDF
Atlassian RoadTrip 2011 Slide Deck
PDF
The Easy Way - Plone Conference 2011
PDF
Oop design magma rails 2011
PDF
2011 June - Singapore GTUG presentation. App Engine program update + intro to Go
PDF
JUDCon 2011 - Box Grinder
PDF
Javascript - How to avoid the bad parts
PDF
[JVMLS 12] Kotlin / Java Interop
PDF
Stardog talk-dc-march-17
Building Languages for the JVM - StarTechConf 2011
Puppet camp europe 2011 hackability
Clouds against the Floods (RubyConfBR2011)
Bonfire... How'd You Do That?! - AtlasCamp 2011
Are Your Tests Really Helping You?
Sean coates fifty things and tricks, confoo 2011
Twitter streamingapi rubymongodbv2
Consuming the Twitter Streaming API with Ruby and MongoDB
UCLUG TorqueBox - 03/08/2011
High quality iOS development
Fred Spencer: Designing a Great UI
Gaelyk - Guillaume Laforge - GR8Conf Europe 2011
Atlassian RoadTrip 2011 Slide Deck
The Easy Way - Plone Conference 2011
Oop design magma rails 2011
2011 June - Singapore GTUG presentation. App Engine program update + intro to Go
JUDCon 2011 - Box Grinder
Javascript - How to avoid the bad parts
[JVMLS 12] Kotlin / Java Interop
Stardog talk-dc-march-17
Ad

More from Blazing Cloud (20)

PDF
Rails ORM De-mystifying Active Record has_many
PDF
Active Record Introduction - 3
PDF
Rails Class Intro - 1
PDF
Your first rails app - 2
PDF
RSpec Quick Reference
KEY
2day Ruby Class Intro
KEY
Mobile Lean UX
KEY
Interactive Graphics
KEY
Interactive Graphics w/ Javascript, HTML5 and CSS3
KEY
Form helpers
KEY
Intro to Ruby (and RSpec)
KEY
What you don't know (yet)
KEY
Introduction to Rails
KEY
ActiveRecord
KEY
Ruby on Rails Class intro
KEY
Ruby on rails toolbox
KEY
Routes Controllers
KEY
Test Driven Development
KEY
Active Record
KEY
Enumerables
Rails ORM De-mystifying Active Record has_many
Active Record Introduction - 3
Rails Class Intro - 1
Your first rails app - 2
RSpec Quick Reference
2day Ruby Class Intro
Mobile Lean UX
Interactive Graphics
Interactive Graphics w/ Javascript, HTML5 and CSS3
Form helpers
Intro to Ruby (and RSpec)
What you don't know (yet)
Introduction to Rails
ActiveRecord
Ruby on Rails Class intro
Ruby on rails toolbox
Routes Controllers
Test Driven Development
Active Record
Enumerables
Ad

Recently uploaded (20)

PDF
Peak of Data & AI Encore- AI for Metadata and Smarter Workflows
PPTX
Digital-Transformation-Roadmap-for-Companies.pptx
PPT
Teaching material agriculture food technology
PDF
Encapsulation theory and applications.pdf
PDF
Build a system with the filesystem maintained by OSTree @ COSCUP 2025
PDF
cuic standard and advanced reporting.pdf
PDF
The Rise and Fall of 3GPP – Time for a Sabbatical?
PDF
How UI/UX Design Impacts User Retention in Mobile Apps.pdf
PDF
Spectral efficient network and resource selection model in 5G networks
PPTX
KOM of Painting work and Equipment Insulation REV00 update 25-dec.pptx
PDF
Approach and Philosophy of On baking technology
PPTX
Detection-First SIEM: Rule Types, Dashboards, and Threat-Informed Strategy
PDF
Machine learning based COVID-19 study performance prediction
PDF
Dropbox Q2 2025 Financial Results & Investor Presentation
PDF
Per capita expenditure prediction using model stacking based on satellite ima...
PDF
Chapter 3 Spatial Domain Image Processing.pdf
PDF
Encapsulation_ Review paper, used for researhc scholars
PPTX
Cloud computing and distributed systems.
PDF
Reach Out and Touch Someone: Haptics and Empathic Computing
PPTX
VMware vSphere Foundation How to Sell Presentation-Ver1.4-2-14-2024.pptx
Peak of Data & AI Encore- AI for Metadata and Smarter Workflows
Digital-Transformation-Roadmap-for-Companies.pptx
Teaching material agriculture food technology
Encapsulation theory and applications.pdf
Build a system with the filesystem maintained by OSTree @ COSCUP 2025
cuic standard and advanced reporting.pdf
The Rise and Fall of 3GPP – Time for a Sabbatical?
How UI/UX Design Impacts User Retention in Mobile Apps.pdf
Spectral efficient network and resource selection model in 5G networks
KOM of Painting work and Equipment Insulation REV00 update 25-dec.pptx
Approach and Philosophy of On baking technology
Detection-First SIEM: Rule Types, Dashboards, and Threat-Informed Strategy
Machine learning based COVID-19 study performance prediction
Dropbox Q2 2025 Financial Results & Investor Presentation
Per capita expenditure prediction using model stacking based on satellite ima...
Chapter 3 Spatial Domain Image Processing.pdf
Encapsulation_ Review paper, used for researhc scholars
Cloud computing and distributed systems.
Reach Out and Touch Someone: Haptics and Empathic Computing
VMware vSphere Foundation How to Sell Presentation-Ver1.4-2-14-2024.pptx

Extending rails

  • 1. EXTENDING RAILS GEMS AND PLUGINS Wednesday, October 5, 2011
  • 2. TYPES OF EXTENSIONS • Plugins / Gems • intializers • dynamic configuration • “monkey patching” Wednesday, October 5, 2011
  • 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 inactivity Wednesday, October 5, 2011
  • 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. USING GEMS Often as simple as 1. Update the gemfile 2. bundle install 3. rails g whatever For example: https://github.com/blazingcloud/devise-example Wednesday, October 5, 2011