use explicit autoloads rather than from paths
This commit is contained in:
@@ -27,7 +27,7 @@ module Postal
|
||||
end
|
||||
|
||||
# Include from lib
|
||||
config.eager_load_paths += %W(#{config.root}/lib #{config.root}/app/jobs)
|
||||
config.eager_load_namespaces << Postal
|
||||
|
||||
# Disable field_with_errors
|
||||
config.action_view.field_error_proc = Proc.new { |t, i| t }
|
||||
|
||||
Reference in New Issue
Block a user