Hi,
Can I ask a quick clarificaiton re use of “application.rb” to propagate
items through ones application. Refer to embedded code from
“application.rb” as reference.
Is it the case that by including methods etc into “application.rb” this
is a means of then making it available to all other applicaiton
controllers, views, helpers? Is this the case?
Does this occur for both (a) include (b) helper and ©
require_dependency usage in application.rb?
Just trying to make sure I understand how rails works here
require_dependency
“#{RAILS_ROOT}/vendor/plugins/active_rbac/app/helpers/rbac_helper”
require_dependency
“#{RAILS_ROOT}/vendor/plugins/active_rbac/lib/active_rbac/application_controller_mixin”