Quantcast
Channel: Master Ruby/Rails Programming
Viewing all articles
Browse latest Browse all 25

after_initialize and after_find can't be private

$
0
0
after_initialize and after_find can't be private. Another note: they need to be explicitly define like:

def after_initialize
# do stuff here.
end

Viewing all articles
Browse latest Browse all 25

Trending Articles