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:
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 ???
thanks ...
r.