My first plugin => my first Stack level too deep

Ok, first we'll need the exception backtrace to be sure about where
this code is breaking, but you can start by changing your plugin a
little bit:

Vendor/plugins/cc_validator/init.rb:

Maurício Linhares wrote:

Ok, first we'll need the exception backtrace to be sure about where
this code is breaking, but you can start by changing your plugin a
little bit:

Vendor/plugins/cc_validator/init.rb:
-------------------------------------------
# Include hook code here
ActiveRecord::Base.extend CcValidator

Hello Maurício,

thanks, now it works perfect!

now, where I can get more info about extending RoR with plug-ins ???

:slight_smile:

thanks ...

r.

You can try this one -> http://peepcode.com/products/rails-2-plugin-patterns