Take the 2-minute tour ×
Programmers Stack Exchange is a question and answer site for professional programmers interested in conceptual questions about software development. It's 100% free, no registration required.

I am using Ruby on Rails 3.0.7 and I would like to learn to write "advanced" plugins for the current versione of the framework. In order to do that I would like to buy some books but what I have seen on the Amazon website are two or three year old...

Do you know and\or advice some books for this matter?

P.S.: Also link to good on-line guides are welcome in answers.

share|improve this question

migrated from stackoverflow.com Jul 2 '11 at 5:31

This question came from our site for professional and enthusiast programmers.

closed as not constructive by Anna Lear Dec 8 '11 at 16:14

As it currently stands, this question is not a good fit for our Q&A format. We expect answers to be supported by facts, references, or expertise, but this question will likely solicit debate, arguments, polling, or extended discussion. If you feel that this question can be improved and possibly reopened, visit the help center for guidance.If this question can be reworded to fit the rules in the help center, please edit the question.

3 Answers 3

If you're using Rails 3.0.7 I highly recommend against any books that are "two or three years old."

Edge RailsGuides contain the latest official guides for Ruby on Rails. You should check out the Extending Rails section.

Edit: You should also be aware that Rails 3.x plugins are mostly gems now as the original plugin system basically inserted the plugin directly into your codebase. Gems are much more extensible and don't muck up your codebase.

You should take a look at some popular Rails 3.x extensions out there:

  1. https://github.com/voxdolo/decent_exposure
  2. https://github.com/technoweenie/restful-authentication
  3. https://github.com/thoughtbot/paperclip

Some Rails plugins are also just middleware for Rack.

share|improve this answer

I highly recommand you have a look at this.

It's a tutorial based on the Enginex gem which will soon become the base for engines and gem creation.

share|improve this answer

I'm reading this book right now:

Crafting Rails Applications: Expert Practices for Everyday Rails Development by José Valim

http://pragprog.com/book/jvrails/crafting-rails-applications

share|improve this answer