Want to learn how to write a gem that integrates with rails, what is the best way to learn?

I want to learn how to write a gem that integrates with rails (3) at some level. I am learning something that hooks into an activerecord, as I would like to know, but I do not know how advanced it would be.

This is for educational purposes, so will there be a stone that I could read a source that you would recommend?

Something interesting is still available for those who are trying to learn.

+7
source share
2 answers

This guide: The basics of creating Rails plugins should be a good start for you.

+4
source

If you use Rails3, I think a good example to explore is the devise ' gem .

and the base for creating a gem using a binder, see this post: https://github.com/radar/guides/blob/master/gem-development.md

+1
source

All Articles